Skip to content
This repository was archived by the owner on Jun 21, 2019. It is now read-only.

Wiremock #6

Closed
wants to merge 26 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void getName() throws URISyntaxException {

@Test
public void getName404() throws URISyntaxException {
stubFor(get(urlEqualTo(nameUrl)).willReturn(aResponse().withStatus(404).withBody(nameResponse)));
stubFor(get(urlEqualTo(nameUrl)).willReturn(aResponse().withStatus(404).withBody(error404Response)));
assertThat(createRoomObject().getName(), IsEqual.equalTo(Optional.empty()));
}

Expand Down