Allow creating subuser with no permissions

This commit is contained in:
Dane Everitt
2018-06-30 18:25:46 -07:00
parent 96699b192e
commit 304d947536
5 changed files with 7 additions and 5 deletions

View File

@@ -182,7 +182,7 @@ class SubuserControllerTest extends ControllerTestCase
$response = $controller->store($this->request);
$this->assertIsRedirectResponse($response);
$this->assertRedirectRouteEquals('server.subusers.view', $response, [
'uuid' => $server->uuid,
'uuid' => $server->uuidShort,
'id' => $subuser->hashid,
]);
}