Beispiel #1
0
 public function testHomeRedirectShouldHasRootLocation()
 {
     $this->redirect->home();
     self::assertEquals('/', $this->getResponse()->getHeader('Location'));
     self::assertEquals(302, $this->getResponse()->getStatus());
 }