Skip to content
Snippets Groups Projects
Unverified Commit 665c456c authored by Martin Weise's avatar Martin Weise
Browse files

Removed weird test

parent f0f569b3
No related branches found
No related tags found
2 merge requests!146Resolve "Remove old queries",!144Revert
......@@ -196,23 +196,6 @@ public class QueryServiceIntegrationTest extends BaseUnitTest {
});
}
@Test
public void selectAll_noDatabase_fails() throws InterruptedException {
final Long page = 0L;
final Long size = 10L;
/* mock */
DockerConfig.createContainer(BIND_WEATHER, CONTAINER_1, CONTAINER_1_ENV);
DockerConfig.startContainer(CONTAINER_1);
when(databaseRepository.findByContainerIdAndDatabaseId(CONTAINER_1_ID, DATABASE_1_ID))
.thenReturn(Optional.empty());
/* test */
assertThrows(DatabaseNotFoundException.class, () -> {
queryService.tableFindAll(CONTAINER_1_ID, DATABASE_1_ID, TABLE_1_ID, Instant.now(), page, size, USER_1_PRINCIPAL);
});
}
@Test
public void insert_columns_fails() throws InterruptedException {
final TableCsvDto request = TableCsvDto.builder()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment