Closes gh-5843
This commit is contained in:
Johnny Lim
2016-05-03 14:01:42 +09:00
committed by Stephane Nicoll
parent a75858ea01
commit 7763c2ae4c
5 changed files with 4 additions and 8 deletions

View File

@@ -20,7 +20,6 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport;
import org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityAutoConfiguration;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.http.HttpHeaders;
@@ -46,9 +45,6 @@ public class MockMvcSecurityAutoConfigurationIntegrationTests {
@Autowired
MockMvc mockMvc;
@Autowired
ConditionEvaluationReport conditionEvaluationReport;
@Test
@WithMockUser(username = "test", password = "test", roles = "USER")
public void okResponseWithMockUser() throws Exception {