Skip to content

Commit 9eee124

Browse files
committed
fixed combined-tests branch
1 parent 50edc9c commit 9eee124

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

quiz-website/src/test/java/com/quizapp/controllerTests/AuthRestControllerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ public class AuthRestControllerTest {
4343

4444
@BeforeEach
4545
void setUp() {
46-
userRepository.deleteAll();
46+
4747
// Clear dependent tables first
4848
challengeRepository.deleteAll();
4949
friendRequestRepository.deleteAll();
5050
announcementRepository.deleteAll();
51+
userRepository.deleteAll();
5152

5253
testUser = new User();
5354
testUser.setUsername("testuser");

0 commit comments

Comments
 (0)