Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
psousa50 committed Sep 25, 2023
1 parent 94a246a commit 88a3c7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration-tests/tests/unit/model_b_references_a.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

UNION ALL

{% call test_condition_on_model_query('model_b_references_a', "should ", {},
{% call test_condition_on_model_query('model_b_references_a', "should quote CTE", {},
assert_should_contain, dbt_unit_testing.quote_identifier("model_a")) %}
{% call dbt_unit_testing.mock_ref ('model_a') %}
select 1 as id
Expand Down
2 changes: 1 addition & 1 deletion macros/tests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% macro build_configuration_and_test_queries(model_node, test_description, options, mocks_and_expectations_json_str) %}
{{ dbt_unit_testing.set_test_context("model_being_tested", dbt_unit_testing.ref_cte_name(model_node)) }}
{% set test_configuration = {
"model_name": model_node.model_name,
"model_name": model_node.name,
"description": test_description,
"model_node": model_node,
"options": dbt_unit_testing.merge_configs([options])}
Expand Down

0 comments on commit 88a3c7b

Please sign in to comment.