title: PHPUnit and Zend Framework assertRedirectTo() issue
body: <p>I'm having an issue with assertRedirectTo() in a test I have created, below is the code I have used:</p>
  
  <pre><code>public function testLoggedInIndexAction() {
    $this-&gt;dispatch('/');
    $this-&gt;assertController('index');
    $this-&gt;resetResponse();
    $this-&gt;request-&gt;setPost(array(
     'type' =&gt; 'login',
     'username' =&gt; 'root',
     'password' =&gt; 'asdasd',
    ));
    $this-&gt;request-&gt;setMethod('POST');
    $this-&gt;dispatch('/');
    $this-&gt;assertRedirectTo('/feed/');
  }
  </code></pre>
  
  <p>You log in through / (index.php/) and submit post details there and the it redirects you to /feed/ (index.php/feed/). The details I have supplied are correct and should work however I am having issues whereby PHPUnit is saying they are incorrect:</p>
  
  <pre><code>There was 1 failure:
  
  1) IndexControllerTest::testLoggedInIndexAction
  Failed asserting response redirects to "/feed/"
  
  /home/public_html/mashhr/library/Zend/Test/PHPUnit/Constraint/Redirect.php:190
  /home/public_html/mashhr/library/Zend/Test/PHPUnit/ControllerTestCase.php:701
  /home/public_html/mashhr/tests/application/controllers/UserControllerTest.php:36
  </code></pre>