Skip to content
Snippets Groups Projects
Verified Commit f2e64511 authored by Martin Weise's avatar Martin Weise
Browse files

Fixed the tests with *magic*

parent 4c00c298
No related branches found
No related tags found
2 merge requests!374Bumped version of DBRepo,!373Bumped version of DBRepo
Showing
with 114 additions and 64 deletions
......@@ -34,14 +34,14 @@ public class ViewServiceIntegrationTest extends AbstractUnitTest {
genesis();
/* metadata database */
MariaDbConfig.dropDatabase(CONTAINER_1_PRIVILEGED_DTO, DATABASE_1_INTERNALNAME);
MariaDbConfig.createInitDatabase(CONTAINER_1_PRIVILEGED_DTO, DATABASE_1_DTO);
MariaDbConfig.createInitDatabase(CONTAINER_1_PRIVILEGED_DTO, DATABASE_1_PRIVILEGED_DTO);
}
@Test
public void delete_succeeds() throws SQLException, ViewMalformedException {
/* test */
viewService.delete(VIEW_1_DTO);
viewService.delete(VIEW_1_PRIVILEGED_DTO);
}
}
......@@ -99,6 +99,7 @@ public interface DataMapper {
.vdbid(database.getId())
.isInitialView(false)
.isPublic(database.getIsPublic())
.isSchemaPublic(database.getIsSchemaPublic())
.query(resultSet.getString(9))
.queryHash(Hashing.sha256()
.hashString(resultSet.getString(9), StandardCharsets.UTF_8)
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment