This repository has been archived by the owner on May 1, 2024. It is now read-only.
forked from dbt-labs/dbt-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ct 866/migrate hook tests fixed (dbt-labs#5760)
* Finish converting first test file. * Finish test conversion. * Remove old integration hook tests. * Move location of schema.yml to models directory. * fix snapshot delete test that was failing * Add the extra env var check for our CI. * Add changelog * Remove naive json flag check and instead force all integration tests to check for environment variables using flag routine. * Revise the changelog to be more of an explanation. Co-authored-by: Mila Page <versusfacit@users.noreply.github.com>
- Loading branch information
1 parent
9e1f6c0
commit 9f43219
Showing
25 changed files
with
912 additions
and
831 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
kind: Under the Hood | ||
body: Migrate integration test 014 but also fix the snapshot hard delete test's timezone logic and force all integration tests to run flags.set_from_args to force environment variables are accessible to all integration test threads. | ||
time: 2022-09-05T00:17:49.564534-07:00 | ||
custom: | ||
Author: versusfacit | ||
Issue: "5760" | ||
PR: "5760" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
test/integration/014_hook_tests/configured-models/hooks.sql
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
test/integration/014_hook_tests/macros/before-and-after.sql
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
test/integration/014_hook_tests/ref-hook-models/hooked.sql
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
test/integration/014_hook_tests/test-kwargs-snapshots/snapshots.sql
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
test/integration/014_hook_tests/test-snapshot-models/schema.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.