Skip to content

Commit

Permalink
springwolf#395 reverted rename of asycnapi.json in amqp-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tvahrst authored and sam0r040 committed Oct 27, 2023
1 parent e68e1c2 commit 061cbbb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void asyncapiDocsShouldReturnTheCorrectJsonResponse() throws IOException, JSONEx
String actual = restTemplate.getForObject(url, String.class);
System.out.println("Got: " + actual);

InputStream s = this.getClass().getResourceAsStream("/asyncapi_withdocketbean.json");
InputStream s = this.getClass().getResourceAsStream("/asyncapi.json");
String expected = new String(s.readAllBytes(), StandardCharsets.UTF_8);

assertEquals(expected, actual);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public class ApiWithDocketBeanIntegrationTest extends BaseApiIntegrationTest {

@Override
protected String getExpectedApiFileName() {
return "/asyncapi_withdocketbean.json";
return "/asyncapi.json";
}
}

0 comments on commit 061cbbb

Please sign in to comment.