This is an automated email from the ASF dual-hosted git repository.
deki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new 00a668a adapted test to newer Swagger UI version
00a668a is described below
commit 00a668ad7e21282ebc986680056349cfa813b27d
Author: Dennis Kieselhorst <[email protected]>
AuthorDate: Fri Mar 23 20:22:57 2018 +0100
adapted test to newer Swagger UI version
---
.../jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java | 2 +-
.../description/openapi/AbstractOpenApiServiceDescriptionTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
index dbee11a..8bdc1ea 100644
---
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
+++
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
@@ -210,7 +210,7 @@ public abstract class
AbstractSwagger2ServiceDescriptionTest extends AbstractBus
.create("http://localhost:" + getPort() + "/swagger-ui.css")
.accept("text/css");
String css = uiClient.get(String.class);
- assertThat(css, containsString(".swagger-ui{font"));
+ assertThat(css, containsString(".swagger-ui{"));
}
@Test
diff --git
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/openapi/AbstractOpenApiServiceDescriptionTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/openapi/AbstractOpenApiServiceDescriptionTest.java
index a386bbd..2aa3216 100644
---
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/openapi/AbstractOpenApiServiceDescriptionTest.java
+++
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/openapi/AbstractOpenApiServiceDescriptionTest.java
@@ -210,7 +210,7 @@ public abstract class AbstractOpenApiServiceDescriptionTest
extends AbstractBusC
.create(getBaseUrl() + "/swagger-ui.css")
.accept("text/css");
String css = uiClient.get(String.class);
- assertThat(css, containsString(".swagger-ui{font"));
+ assertThat(css, containsString(".swagger-ui{"));
}
protected String getApplicationPath() {
--
To stop receiving notification emails like this one, please contact
[email protected].