From 827490fc113b404999c2c4df7de459e6ee712e14 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Dec 2016 09:39:41 +0300 Subject: juick-spring-www: tests uses Web Security --- juick-spring-www/src/test/java/com/juick/www/NotFoundPageTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'juick-spring-www') 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}), }) -- cgit v1.2.3