diff --git a/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiIntegrationWithDockerIntegrationTest.java b/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiIntegrationWithDockerIntegrationTest.java index 03833ce1c..f74953393 100644 --- a/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiIntegrationWithDockerIntegrationTest.java +++ b/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiIntegrationWithDockerIntegrationTest.java @@ -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); diff --git a/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiWithDocketBeanIntegrationTest.java b/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiWithDocketBeanIntegrationTest.java index df305700d..ea556874a 100644 --- a/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiWithDocketBeanIntegrationTest.java +++ b/springwolf-examples/springwolf-amqp-example/src/test/java/io/github/stavshamir/springwolf/example/amqp/ApiWithDocketBeanIntegrationTest.java @@ -12,6 +12,6 @@ public class ApiWithDocketBeanIntegrationTest extends BaseApiIntegrationTest { @Override protected String getExpectedApiFileName() { - return "/asyncapi_withdocketbean.json"; + return "/asyncapi.json"; } } diff --git a/springwolf-examples/springwolf-amqp-example/src/test/resources/asyncapi_withdocketbean.json b/springwolf-examples/springwolf-amqp-example/src/test/resources/asyncapi.json similarity index 100% rename from springwolf-examples/springwolf-amqp-example/src/test/resources/asyncapi_withdocketbean.json rename to springwolf-examples/springwolf-amqp-example/src/test/resources/asyncapi.json