Skip to content

Commit

Permalink
#193: Fix order of messages in MessageControllerTest
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Arnhold <[email protected]>
  • Loading branch information
jnsrnhld committed Jul 8, 2023
1 parent 47880a6 commit 512535f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void getMessages_returnsMessages() throws Exception {
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(jsonPath("$.messages", hasSize(2)))
.andExpect(jsonPath("$.messages[0].payload", equalTo("Nebuchadnezzar")))
.andExpect(jsonPath("$.messages[1].payload", equalTo("Serenity")));
.andExpect(jsonPath("$.messages[0].payload", equalTo("Serenity")))
.andExpect(jsonPath("$.messages[1].payload", equalTo("Nebuchadnezzar")));
}

@Test
Expand Down

0 comments on commit 512535f

Please sign in to comment.