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

Think the problem is now finally located

parent b321797b
No related branches found
No related tags found
1 merge request!106Dev
...@@ -79,7 +79,7 @@ public class ContainerServiceIntegrationTest extends BaseUnitTest { ...@@ -79,7 +79,7 @@ public class ContainerServiceIntegrationTest extends BaseUnitTest {
/* mock data */ /* mock data */
userRepository.save(USER_1); userRepository.save(USER_1);
final ContainerImage tmp = ContainerImage.builder() imageRepository.save(ContainerImage.builder()
.id(IMAGE_1_ID) .id(IMAGE_1_ID)
.repository(IMAGE_1_REPOSITORY) .repository(IMAGE_1_REPOSITORY)
.tag(IMAGE_1_TAG) .tag(IMAGE_1_TAG)
...@@ -91,8 +91,7 @@ public class ContainerServiceIntegrationTest extends BaseUnitTest { ...@@ -91,8 +91,7 @@ public class ContainerServiceIntegrationTest extends BaseUnitTest {
.size(IMAGE_1_SIZE) .size(IMAGE_1_SIZE)
.environment(IMAGE_1_ENV) .environment(IMAGE_1_ENV)
.defaultPort(IMAGE_1_PORT) .defaultPort(IMAGE_1_PORT)
.build(); .build());
imageRepository.save(tmp);
} }
@AfterEach @AfterEach
......
...@@ -64,6 +64,7 @@ public class Container { ...@@ -64,6 +64,7 @@ public class Container {
}) })
private List<Database> databases; private List<Database> databases;
@org.springframework.data.annotation.Transient
@ManyToOne(fetch = FetchType.LAZY, cascade = CascadeType.MERGE) @ManyToOne(fetch = FetchType.LAZY, cascade = CascadeType.MERGE)
private ContainerImage image; private ContainerImage image;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment