From 5d7f461d937deb823d2c97a75a0d491f67b3d466 Mon Sep 17 00:00:00 2001 From: Elon Gliksberg Date: Mon, 8 Jul 2024 11:35:09 +0300 Subject: [PATCH] Use 'tests_schema_name' var on 'schema_changes_from_baseline' test. --- macros/edr/tests/test_schema_changes_from_baseline.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/edr/tests/test_schema_changes_from_baseline.sql b/macros/edr/tests/test_schema_changes_from_baseline.sql index 34e5bc211..d1f84eab2 100644 --- a/macros/edr/tests/test_schema_changes_from_baseline.sql +++ b/macros/edr/tests/test_schema_changes_from_baseline.sql @@ -16,7 +16,7 @@ {# Get baseline and store it in a table #} {% set baseline_columns = elementary.get_model_baseline_columns(model_relation, enforce_types=enforce_types) %} - {% set baseline_table_relation = elementary.create_model_baseline_table(baseline_columns, database_name, schema_name, test_table_name) %} + {% set baseline_table_relation = elementary.create_model_baseline_table(baseline_columns, database_name, tests_schema_name, test_table_name) %} {% set full_table_name = elementary.relation_to_full_name(model_relation) %} {% set changes_from_baseline_query = elementary.get_column_changes_from_baseline_query(model_relation, full_table_name, baseline_table_relation, include_added=fail_on_added) %}