Skip to content
Snippets Groups Projects
Commit 5d9fa5fb authored by Boris Lucas's avatar Boris Lucas
Browse files

fix unit tests

parent 14d2ecd0
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,8 @@ import org.springframework.test.context.junit.jupiter.SpringExtension; ...@@ -40,7 +40,8 @@ import org.springframework.test.context.junit.jupiter.SpringExtension;
import java.util.List; import java.util.List;
import static java.util.Collections.singletonList; import static java.util.Collections.singletonList;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertThrows;
@SpringBootTest @SpringBootTest
...@@ -74,8 +75,8 @@ class TypologyBusinessServiceTest { ...@@ -74,8 +75,8 @@ class TypologyBusinessServiceTest {
@AfterEach @AfterEach
void cleanup() { void cleanup() {
typeRepository.deleteAll();
subtypeRepository.deleteAll(); subtypeRepository.deleteAll();
typeRepository.deleteAll();
tenantRepository.deleteAll(); tenantRepository.deleteAll();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment