Should wrap up the base landing page stuff for accounts, next step is server rendering
This commit is contained in:
parent
67ac36f5ce
commit
e045ef443a
32 changed files with 1223 additions and 317 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue