Skip to content

Commit 71fe63d

Browse files
tests
1 parent a6094d2 commit 71fe63d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

integration_tests/tests/consistency/consistency_expenses_sales_enhanced.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
-- this test ensures the expenses sales enhanced end model matches the prior version
77
with prod as (
8-
select *
8+
select {{ dbt_utils.star(from=ref('quickbooks__expenses_sales_enhanced'), except=var('qb_consistency_exclude_columns', [])) }}
99
from {{ target.schema }}_quickbooks_prod.quickbooks__expenses_sales_enhanced
1010
where date(transaction_date) < date({{ dbt.current_timestamp() }})
1111
),
1212

1313
dev as (
14-
select *
14+
select {{ dbt_utils.star(from=ref('quickbooks__expenses_sales_enhanced'), except=var('qb_consistency_exclude_columns', [])) }}
1515
from {{ target.schema }}_quickbooks_dev.quickbooks__expenses_sales_enhanced
1616
where date(transaction_date) < date({{ dbt.current_timestamp() }})
1717
),

integration_tests/tests/consistency/consistency_general_ledger.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
-- this test ensures the general ledger end model matches the prior version
77
with prod as (
8-
select * except(running_balance, running_converted_balance)
8+
select {{ dbt_utils.star(from=ref('quickbooks__general_ledger'), except=['running_balance', 'running_converted_balance'] + var('qb_consistency_exclude_columns', [])) }}
99
from {{ target.schema }}_quickbooks_prod.quickbooks__general_ledger
1010
),
1111

1212
dev as (
13-
select * except(running_balance, running_converted_balance)
13+
select {{ dbt_utils.star(from=ref('quickbooks__general_ledger'), except=['running_balance', 'running_converted_balance'] + var('qb_consistency_exclude_columns', [])) }}
1414
from {{ target.schema }}_quickbooks_dev.quickbooks__general_ledger
1515
),
1616

0 commit comments

Comments
 (0)