java.lang.AssertionError: Status expected:<200> but was:<302> itShouldAllowAccessToSecuredPageForPermittedUser
<p>My tomcat application is refusing to build when I try to launch it on tomcat on the following errors</p>

<pre><code>Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 13.603 sec &lt;&lt;&lt; FAILURE!
itShouldAllowAccessToSecuredPageForPermittedUser(ie.claddino.chat.LoginTestCase)  Time elapsed: 12.791 sec  &lt;&lt;&lt; FAILURE!
java.lang.AssertionError: Status expected:&lt;200&gt; but was:&lt;302&gt;
</code></pre>

<p>This is the method that is failing from controller class</p>

<pre><code>@Test
    public void itShouldAllowAccessToSecuredPageForPermittedUser() throws Exception {
        SecurityContext securityContext = userAuthentication();
        MockHttpSession session = new MockHttpSession();
        session.setAttribute(HttpSessionSecurityContextRepository.SPRING_SECURITY_CONTEXT_KEY, securityContext);
        mockMvc.perform(get(SECURED_URI).session(session))
                .andExpect(status().isOk()).andExpect(redirectedUrl(LOGIN_PAGE_URL));
    }*
</code></pre>

<p>Please what could be wrong with my application? Please does anyone know what status 302 means.</p>