Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jun 12, 2023
1 parent 1869662 commit fe96368
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ void shouldRegisterWithStorageAndSendResponse() throws Exception {
resp.getHeaders(),
Matchers.equalTo(Map.of(HttpHeaders.LOCATION, "/api/v2.2/discovery/" + id)));
MatcherAssert.assertThat(
resp.getBody(), Matchers.equalTo(Map.of("token", token, "id", id.toString())));
resp.getBody(),
Matchers.equalTo(Map.of("token", token, "id", id.toString(), "env", Map.of())));

Mockito.verify(storage)
.register(
Expand Down

0 comments on commit fe96368

Please sign in to comment.