Skip to content

Commit

Permalink
Revert "#193: Fix order of messages in MessageControllerTest"
Browse files Browse the repository at this point in the history
This reverts commit 512535f.
  • Loading branch information
jnsrnhld committed Jul 8, 2023
1 parent 512535f commit 76c9718
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("Serenity")))
.andExpect(jsonPath("$.messages[1].payload", equalTo("Nebuchadnezzar")));
.andExpect(jsonPath("$.messages[0].payload", equalTo("Nebuchadnezzar")))
.andExpect(jsonPath("$.messages[1].payload", equalTo("Serenity")));
}

@Test
Expand Down

0 comments on commit 76c9718

Please sign in to comment.