more tests

This commit is contained in:
Pablo Martin 2024-02-23 12:23:42 +01:00
parent ae9953556c
commit 9a53e6ca9f

View file

@ -535,9 +535,19 @@ sources:
- name: amount_received
data_type: bigint
description: "Amount that this PaymentIntent collects."
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
strictly: False
- name: amount_capturable
data_type: bigint
description: "Amount that can be captured from this PaymentIntent."
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
strictly: False
- name: last_payment_error
data_type: jsonb
description: "The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason."
@ -585,6 +595,11 @@ sources:
- name: _airbyte_extracted_at
data_type: timestamp with time zone
description: "{{ doc('_airbyte_extracted_at_desc') }}"
tests:
- not_null
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 2
- name: _airbyte_meta
data_type: jsonb
description: "{{ doc('_airbyte_meta_desc') }}"