File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/avniproject/etl/repository Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public void before() {
33
33
@ Sql (scripts = {"/test-data-teardown.sql" }, executionPhase = Sql .ExecutionPhase .AFTER_TEST_METHOD )
34
34
public void shouldGetAllTablesForAnOrganisation () {
35
35
SchemaMetadata schemaMetadata = schemaMetadataRepository .getNewSchemaMetadata ();
36
- assertThat (schemaMetadata .getTableMetadata ().size (), is (15 ));
36
+ assertThat (schemaMetadata .getTableMetadata ().size (), is (16 ));
37
37
}
38
38
39
39
@ Test
@@ -83,7 +83,7 @@ public void shouldGetMediaTable() {
83
83
@ Sql ({"/test-data-teardown.sql" , "/test-data.sql" })
84
84
@ Sql (scripts = {"/test-data-teardown.sql" }, executionPhase = Sql .ExecutionPhase .AFTER_TEST_METHOD )
85
85
public void shouldGetMediaAnalysisTable () {
86
- SchemaMetadata schemaMetadata = schemaMetadataRepository .getExistingSchemaMetadata ();
86
+ SchemaMetadata schemaMetadata = schemaMetadataRepository .getNewSchemaMetadata ();
87
87
Optional <TableMetadata > mediaAnalysis = schemaMetadata .getTableMetadata ().stream ().filter (tableMetadata1 -> tableMetadata1 .getName ().equals ("media_analysis" )).findFirst ();
88
88
89
89
assertThat (mediaAnalysis .isPresent (), is (true ));
You can’t perform that action at this time.
0 commit comments