Updated tests

This commit is contained in:
Joaquin Ossa 2025-02-23 16:11:37 +01:00
parent fc85dd9e70
commit fb4775bd07

View file

@ -205,6 +205,9 @@ models:
- name: deposit_retained_currency
data_type: text
description: "Currency of the deposit retained."
data_tests:
- not_null:
where: "deposit_retained_amount_in_txn_currency > 0 and document_version <> 'OldClaimToIncidentModel'"
- name: has_guest_contributed_to_cost
data_type: boolean
@ -228,6 +231,9 @@ models:
- name: guest_contribution_currency
data_type: text
description: "Currency of the guest contribution."
data_tests:
- not_null:
where: "guest_contribution_amount_in_txn_currency > 0 and document_version <> 'OldClaimToIncidentModel'"
- name: guest_contacted_about_damage
data_type: boolean
@ -483,7 +489,7 @@ models:
compensation from another platform."
data_tests:
- not_null:
where: "third_party_claim_amount_in_txn_currency > 0"
where: "third_party_claim_amount_in_txn_currency > 0 and document_version <> 'OldClaimToIncidentModel'"
- name: cosmos_db_timestamp_utc
data_type: timestamp