mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Finish subuser controller
This commit is contained in:
@@ -159,10 +159,11 @@ trait ControllerAssertionsTrait
|
||||
*
|
||||
* @param string $route
|
||||
* @param mixed $response
|
||||
* @param array $args
|
||||
*/
|
||||
public function assertRedirectRouteEquals($route, $response)
|
||||
public function assertRedirectRouteEquals($route, $response, array $args = [])
|
||||
{
|
||||
PHPUnit_Framework_Assert::assertEquals(route($route), $response->getTargetUrl());
|
||||
PHPUnit_Framework_Assert::assertEquals(route($route, $args), $response->getTargetUrl());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user