Skip to content

Commit

Permalink
Merge branch 'current' into nfiann-resourcetype-dbttest
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Oct 1, 2024
2 parents 76b0405 + 3cb8a70 commit 2fa9413
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions website/docs/docs/build/data-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ The name of this test is the name of the file: `assert_total_payment_amount_is_p

Singular data tests are easy to write—so easy that you may find yourself writing the same basic structure over and over, only changing the name of a column or model. By that point, the test isn't so singular! In that case, we recommend...



## Generic data tests
Certain data tests are generic: they can be reused over and over again. A generic data test is defined in a `test` block, which contains a parametrized query and accepts arguments. It might look like:

Expand Down Expand Up @@ -304,7 +302,6 @@ data_tests:

</File>

To suppress warnings about the rename, add `TestsConfigDeprecation` to the `silence` block of the `warn_error_options` flag in `dbt_project.yml`, [as described in the Warnings documentation](https://docs.getdbt.com/reference/global-configs/warnings).

</VersionBlock>

Expand Down
2 changes: 0 additions & 2 deletions website/docs/reference/global-configs/warnings.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ flags:
error: # Previously called "include"
warn: # Previously called "exclude"
silence: # To silence or ignore warnings
- TestsConfigDeprecation
- NoNodesForSelectionCriteria
```
Expand Down Expand Up @@ -131,7 +130,6 @@ config:
warn: # Previously called "exclude"
- NoNodesForSelectionCriteria
silence: # Silence or ignore warnings
- TestsConfigDeprecation
- NoNodesForSelectionCriteria
```

Expand Down

0 comments on commit 2fa9413

Please sign in to comment.