Should wrap up the base landing page stuff for accounts, next step is server rendering

This commit is contained in:
Dane Everitt 2017-08-30 21:11:14 -05:00
parent 67ac36f5ce
commit e045ef443a
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
32 changed files with 1223 additions and 317 deletions

View file

@ -83,4 +83,13 @@ trait ControllerAssertionsTrait
{
PHPUnit_Framework_Assert::assertEquals($value, array_get($view->getData(), $attribute));
}
/**
* @param string $route
* @param \Illuminate\Http\RedirectResponse $response
*/
public function assertRouteRedirectEquals($route, $response)
{
PHPUnit_Framework_Assert::assertEquals(route($route), $response->getTargetUrl());
}
}