Add test dependency
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
@@ -50,6 +50,12 @@
|
|||||||
<artifactId>fest-assert</artifactId>
|
<artifactId>fest-assert</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.hawkbit</groupId>
|
||||||
|
<artifactId>hawkbit-repository</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<classifier>tests</classifier>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ru.yandex.qatools.allure</groupId>
|
<groupId>ru.yandex.qatools.allure</groupId>
|
||||||
<artifactId>allure-junit-adaptor</artifactId>
|
<artifactId>allure-junit-adaptor</artifactId>
|
||||||
|
|||||||
@@ -26,7 +26,8 @@ public abstract class AbstractRestIntegrationTest extends AbstractIntegrationTes
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected DefaultMockMvcBuilder createMvcWebAppContext() {
|
protected DefaultMockMvcBuilder createMvcWebAppContext() {
|
||||||
return super.createMvcWebAppContext().addFilter(filterHttpResponse);
|
final DefaultMockMvcBuilder createMvcWebAppContext = super.createMvcWebAppContext();
|
||||||
|
return createMvcWebAppContext.addFilter(filterHttpResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ public abstract class AbstractRestIntegrationTestWithMongoDB extends AbstractInt
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected DefaultMockMvcBuilder createMvcWebAppContext() {
|
protected DefaultMockMvcBuilder createMvcWebAppContext() {
|
||||||
return super.createMvcWebAppContext().addFilter(filterHttpResponse);
|
DefaultMockMvcBuilder createMvcWebAppContext = super.createMvcWebAppContext();
|
||||||
|
return createMvcWebAppContext.addFilter(filterHttpResponse);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user