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

Removed id from the entity

parent 41ebcce6
Branches
Tags
1 merge request!106Dev
......@@ -49,13 +49,12 @@ public class ContainerServiceUnitTest extends BaseUnitTest {
/* mock data */
userRepository.save(USER_1);
final ContainerImage tmp = ContainerImage.builder()
.id(IMAGE_1_ID)
.repository(IMAGE_1_REPOSITORY)
.tag(IMAGE_1_TAG)
.hash(IMAGE_1_HASH)
.jdbcMethod("mariadb")
.dialect("org.hibernate.dialect.MariaDBDialect")
.driverClass("org.mariadb.jdbc.Driver")
.jdbcMethod(IMAGE_1_JDBC)
.dialect(IMAGE_1_DIALECT)
.driverClass(IMAGE_1_DRIVER)
.compiled(IMAGE_1_BUILT)
.size(IMAGE_1_SIZE)
.environment(IMAGE_1_ENV)
......
......@@ -49,7 +49,6 @@ public class ImageServiceIntegrationTest extends BaseUnitTest {
public void beforeEach() {
userRepository.save(USER_1);
final ContainerImage tmp = ContainerImage.builder()
.id(IMAGE_1_ID)
.repository(IMAGE_1_REPOSITORY)
.tag(IMAGE_1_TAG)
.hash(IMAGE_1_HASH)
......@@ -140,7 +139,6 @@ public class ImageServiceIntegrationTest extends BaseUnitTest {
@Test
public void delete_noContainer_succeeds() throws ImageNotFoundException, PersistenceException {
imageRepository.save(IMAGE_1);
/* test */
imageService.delete(IMAGE_1_ID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment