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 4abe282 commit bc3fd2bCopy full SHA for bc3fd2b
backend/src/test/java/io/f1/backend/domain/game/app/RoomServiceTests.java
@@ -1,6 +1,7 @@
1
package io.f1.backend.domain.game.app;
2
3
import static org.assertj.core.api.Assertions.assertThat;
4
+import static org.mockito.Mockito.verify;
5
import static org.mockito.Mockito.when;
6
7
import io.f1.backend.domain.game.dto.request.RoomValidationRequest;
@@ -157,7 +158,7 @@ void exitRoom_synchronized() throws Exception {
157
158
});
159
}
160
countDownLatch.await();
- assertThat(room.getCurrentUserCnt()).isEqualTo(1);
161
+ verify(roomRepository).removeRoom(roomId);
162
163
164
private Room createRoom(
0 commit comments