diff --git a/PR_DESCRIPTION.md b/PR_DESCRIPTION.md new file mode 100644 index 000000000..5ca4d33df --- /dev/null +++ b/PR_DESCRIPTION.md @@ -0,0 +1,10 @@ +Migrate top-level test `values` to `arguments` (dbt0102) + +This repo contains a small YAML-only change to the integration tests schema to +wrap `values:` under `arguments:` for `accepted_values` tests. + +Rationale: +- Addresses deprecation warnings about top-level test arguments (dbt0102). +- No behavior change to the tests; simply adjusts to the newer expected schema. + +See the PR for the exact diff and additional context. diff --git a/integration_tests/models/sql/schema.yml b/integration_tests/models/sql/schema.yml index 850e45495..0d09b4ac0 100644 --- a/integration_tests/models/sql/schema.yml +++ b/integration_tests/models/sql/schema.yml @@ -41,44 +41,51 @@ models: - name: count_a data_tests: - accepted_values: - values: - - '1' + arguments: + values: + - '1' - name: count_b data_tests: - accepted_values: - values: - - '1' + arguments: + values: + - '1' - name: count_c data_tests: - accepted_values: - values: - - '1' + arguments: + values: + - '1' - name: count_d data_tests: - accepted_values: - values: - - '1' + arguments: + values: + - '1' - name: count_e data_tests: - accepted_values: - values: - - '1' + arguments: + values: + - '1' - name: count_f data_tests: - accepted_values: - values: - - '1' + arguments: + values: + - '1' - name: count_g data_tests: - accepted_values: - values: - - '5' + arguments: + values: + - '5' - name: test_get_column_values_where data_tests: