Skip to content

Commit 30f2776

Browse files
shaunecclesclaude
andcommitted
fix: nest generic test arguments under arguments in integration tests
The shipped models were fixed in 78d73ea but the integration test YAML files were missed, causing MissingArgumentsPropertyInGenericTestDeprecation warnings on dbt-core >= 1.11. Closes #569 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a6ee401 commit 30f2776

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

integration_tests/models/dbt_project_evaluator_schema_tests/core.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ models:
2626
- name: model_type
2727
data_tests:
2828
- dbt_utils.expression_is_true:
29-
expression: "= 'base'"
29+
arguments:
30+
expression: "= 'base'"
3031
config:
3132
where: "resource_name = 'base_model_10'"
3233

integration_tests/models/dbt_project_evaluator_schema_tests/graph.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ models:
5353
description: "Staging model from the graph variable, one record per column resource."
5454
data_tests:
5555
- dbt_utils.unique_combination_of_columns:
56-
combination_of_columns:
57-
- node_unique_id
58-
- name
56+
arguments:
57+
combination_of_columns:
58+
- node_unique_id
59+
- name
5960

6061
- name: stg_sources
6162
description: "Staging model from the graph variable, one record per source resource."
@@ -75,7 +76,8 @@ models:
7576
- name: model_type
7677
data_tests:
7778
- accepted_values:
78-
values: "{{ var('model_types') }}"
79+
arguments:
80+
values: "{{ var('model_types') }}"
7981

8082
- name: stg_naming_convention_prefixes
8183
description: "This table shows one record for each accepted model prefix for each model type (staging, intermediate, marts) from the provided variables"
@@ -88,4 +90,5 @@ models:
8890
- name: model_type
8991
data_tests:
9092
- accepted_values:
91-
values: "{{ var('model_types') }}"
93+
arguments:
94+
values: "{{ var('model_types') }}"

0 commit comments

Comments
 (0)