File tree Expand file tree Collapse file tree
tests/Functional/Snowflake/Table Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212use Keboola \TableBackendUtils \Table \Snowflake \SnowflakeTableDefinition ;
1313use Keboola \TableBackendUtils \Table \Snowflake \SnowflakeTableQueryBuilder ;
1414use Keboola \TableBackendUtils \Table \Snowflake \SnowflakeTableReflection ;
15+ use Keboola \TableBackendUtils \TableNotExistsReflectionException ;
1516use Tests \Keboola \TableBackendUtils \Functional \Snowflake \SnowflakeBaseCase ;
1617
1718// TODO we dont use DEFAULT values in columns.
@@ -54,7 +55,7 @@ public function testGetRenameTableCommand(): void
5455 $ refNew ->getRowsCount ();
5556
5657 // test NON existence of old table via counting
57- $ this ->expectException (DBALException ::class);
58+ $ this ->expectException (TableNotExistsReflectionException ::class);
5859 $ refOld ->getRowsCount ();
5960 }
6061
@@ -98,7 +99,7 @@ public function testGetDropTableCommand(): void
9899 $ this ->connection ->executeQuery ($ sql );
99100
100101 // test NON existence of old table via counting
101- $ this ->expectException (DBALException ::class);
102+ $ this ->expectException (TableNotExistsReflectionException ::class);
102103 $ ref ->getRowsCount ();
103104 }
104105
You can’t perform that action at this time.
0 commit comments