diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index 5e82ee7..7d0c8f2 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -22,10 +22,6 @@ flags: seeds: +schema: raw_data +quote_columns: false - codegen_integration_tests: - data__Case_Sensitive: - +schema: Raw_Data_Case_Sensitive - quote_columns: true vars: my_table_reference: table_c diff --git a/integration_tests/seeds/data__Case_Sensitive.csv b/integration_tests/seeds/data__Case_Sensitive.csv deleted file mode 100644 index d0f2e97..0000000 --- a/integration_tests/seeds/data__Case_Sensitive.csv +++ /dev/null @@ -1,3 +0,0 @@ -Col_A,Col_B -1,a -2,b diff --git a/integration_tests/tests/test_generate_source_case_sensitive.sql b/integration_tests/tests/test_generate_source_case_sensitive.sql deleted file mode 100644 index eac7169..0000000 --- a/integration_tests/tests/test_generate_source_case_sensitive.sql +++ /dev/null @@ -1,35 +0,0 @@ - -{% set raw_schema = generate_schema_name('Raw_Data_Case_Sensitive') %} - --- test default args -{% set actual_source_yaml = codegen.generate_source( - schema_name=raw_schema, - database_name=target.database, - generate_columns=True, - name=raw_schema, - include_database=True, - include_schema=True, - case_sensitive_databases=True, - case_sensitive_schemas=True, - case_sensitive_tables=True, - case_sensitive_cols=True -) %} - -{% set expected_source_yaml %} -version: 2 - -sources: - - name: {{ raw_schema | lower }} - database: {{ target.database }} - schema: {{ raw_schema }} - tables: - - name: {% if target.type == "snowflake" %}DATA__CASE_SENSITIVE{% else %}data__Case_Sensitive{% endif %} - columns: - - name: Col_A - data_type: {{ integer_type_value() }} - - name: Col_B - data_type: {{ text_type_value() }} -{% endset %} - - -{{ assert_equal (actual_source_yaml | trim, expected_source_yaml | trim) }}