more tests
This commit is contained in:
parent
ae9953556c
commit
9a53e6ca9f
1 changed files with 15 additions and 0 deletions
|
|
@ -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') }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue