diff --git a/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIRecordFactoryTest.java b/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIRecordFactoryTest.java index 5da68ce43..28805bdc7 100644 --- a/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIRecordFactoryTest.java +++ b/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIRecordFactoryTest.java @@ -69,7 +69,7 @@ void readAndParseSwagger2() throws IOException { void swagger2ConversionNoticeAdded() throws IOException { OpenAPIRecord rec = getOpenAPIRecord("fruitshop-swagger-2.0.json", "fruit-shop-api-swagger-2-v1-0-0"); String description = rec.api.getInfo().getDescription(); - assertTrue(description.contains("Membrane API Gateway.")); + assertTrue(description.contains("Membrane API Gateway")); } @Test @@ -77,7 +77,7 @@ void swagger2ConversionNoticeAddedWithExistingDescription() throws IOException { OpenAPIRecord rec = getOpenAPIRecord("fruitshop-swagger-2.0.json", "fruit-shop-api-swagger-2-v1-0-0"); String description = rec.api.getInfo().getDescription(); assertTrue(description.startsWith("This is a showcase")); - assertTrue(description.contains("Membrane API Gateway.")); + assertTrue(description.contains("Membrane API Gateway")); } @Test