aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/test/java/com/juick/www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-20 09:39:41 +0300
committerGravatar Vitaly Takmazov2016-12-20 09:39:41 +0300
commit827490fc113b404999c2c4df7de459e6ee712e14 (patch)
treebecfad2b474d602286b1499ce29d3ec49dbc0900 /juick-spring-www/src/test/java/com/juick/www
parente2f733c84d2e327151e0a8c9a984d4094e7fa89b (diff)
juick-spring-www: tests uses Web Security
Diffstat (limited to 'juick-spring-www/src/test/java/com/juick/www')
-rw-r--r--juick-spring-www/src/test/java/com/juick/www/NotFoundPageTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-spring-www/src/test/java/com/juick/www/NotFoundPageTest.java b/juick-spring-www/src/test/java/com/juick/www/NotFoundPageTest.java
index 974cda32..0b68fe70 100644
--- a/juick-spring-www/src/test/java/com/juick/www/NotFoundPageTest.java
+++ b/juick-spring-www/src/test/java/com/juick/www/NotFoundPageTest.java
@@ -1,6 +1,7 @@
package com.juick.www;
import com.juick.configuration.DataConfiguration;
+import com.juick.www.configuration.WebSecurityConfig;
import com.juick.www.configuration.WwwServletConfiguration;
import org.junit.Before;
import org.junit.Test;
@@ -26,6 +27,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@ContextHierarchy({
@ContextConfiguration(classes = {
com.juick.www.configuration.WebAppConfiguration.class,
+ WebSecurityConfig.class,
DataConfiguration.class}),
@ContextConfiguration(classes = {WwwServletConfiguration.class}),
})