Skip to content

Commit

Permalink
rename column order mismatch test
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 committed Sep 12, 2023
1 parent 0b3d6c5 commit 3ab7f03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tests/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,9 @@ def validate(self) -> None:



class SnowflakeTargetUnorderedColumns(TargetFileTestTemplate):
class SnowflakeTargetColumnOrderMismatch(TargetFileTestTemplate):

name = "unordered_columns"
name = "column_order_mismatch"

def setup(self) -> None:
connector = self.target.default_sink_class.connector_class(self.target.config)
Expand Down Expand Up @@ -498,6 +498,6 @@ def singer_filepath(self) -> Path:
SnowflakeTargetExistingTable,
SnowflakeTargetExistingTableAlter,
SnowflakeTargetTypeEdgeCasesTest,
SnowflakeTargetUnorderedColumns,
SnowflakeTargetColumnOrderMismatch,
],
)
2 changes: 2 additions & 0 deletions tests/target_test_streams/column_order_mismatch.singer
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"type": "SCHEMA", "stream": "column_order_mismatch", "schema": {"properties": {"COL2": {"type": "boolean"}, "COL1": {"type": ["string", "null"]}}}, "key_properties": [], "bookmark_properties": []}
{"type": "RECORD", "stream": "column_order_mismatch", "record": {"COL2": true, "COL1": "foo"}}
2 changes: 0 additions & 2 deletions tests/target_test_streams/unordered_columns.singer

This file was deleted.

0 comments on commit 3ab7f03

Please sign in to comment.