-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -720,7 +720,7 @@ void testDecreaseUnreadMessageCountWhenDeletingMessage() throws Exception { | |
|
||
request.delete("/api/courses/" + courseId + "/messages/" + createdPost2.getId(), HttpStatus.OK); | ||
// After deleting the message in the second chat, the unread count in the first chat should stay the same, the unread count in the second chat will become 0 | ||
await().atMost(5, TimeUnit.SECONDS).untilAsserted(() -> { | ||
await().atMost(20, TimeUnit.SECONDS).untilAsserted(() -> { | ||
SecurityUtils.setAuthorizationObject(); | ||
assertThat(getUnreadMessagesCount(oneToOneChat1, student2)).isEqualTo(1); | ||
assertThat(getUnreadMessagesCount(oneToOneChat2, student2)).isZero(); | ||
Check failure on line 726 in src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java GitHub Actions / H2 Testsde.tum.cit.aet.artemis.communication.MessageIntegrationTest ► testDecreaseUnreadMessageCountWhenDeletingMessage()
Raw output
|
||
|