diff options
author | Vitaly Takmazov | 2016-12-20 09:39:41 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-20 09:39:41 +0300 |
commit | 827490fc113b404999c2c4df7de459e6ee712e14 (patch) | |
tree | becfad2b474d602286b1499ce29d3ec49dbc0900 | |
parent | e2f733c84d2e327151e0a8c9a984d4094e7fa89b (diff) |
juick-spring-www: tests uses Web Security
-rw-r--r-- | juick-spring-www/src/test/java/com/juick/www/NotFoundPageTest.java | 2 |
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}), }) |