We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50edc9c commit 9eee124Copy full SHA for 9eee124
quiz-website/src/test/java/com/quizapp/controllerTests/AuthRestControllerTest.java
@@ -43,11 +43,12 @@ public class AuthRestControllerTest {
43
44
@BeforeEach
45
void setUp() {
46
- userRepository.deleteAll();
+
47
// Clear dependent tables first
48
challengeRepository.deleteAll();
49
friendRequestRepository.deleteAll();
50
announcementRepository.deleteAll();
51
+ userRepository.deleteAll();
52
53
testUser = new User();
54
testUser.setUsername("testuser");
0 commit comments