Update PHPCS and other dependencies.

This commit is contained in:
Dane Everitt 2017-11-05 13:33:42 -06:00
parent 82b7bff7f7
commit 30ab6ed692
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 266 additions and 146 deletions

View file

@ -135,9 +135,9 @@ class SubuserControllerTest extends ControllerTestCase
$this->alert->shouldReceive('success')->with(trans('server.users.user_updated'))->once()->andReturnSelf();
$this->alert->shouldReceive('flash')->withNoArgs()->once()->andReturnNull();
$response = $controller->update($this->request, 'abcd1234', 1234);
$response = $controller->update($this->request, 'abcd1234', $subuser->hashid);
$this->assertIsRedirectResponse($response);
$this->assertRedirectRouteEquals('server.subusers.view', $response, ['uuid' => 'abcd1234', 'id' => 1234]);
$this->assertRedirectRouteEquals('server.subusers.view', $response, ['uuid' => 'abcd1234', 'id' => $subuser->hashid]);
}
/**
@ -183,7 +183,7 @@ class SubuserControllerTest extends ControllerTestCase
$this->assertIsRedirectResponse($response);
$this->assertRedirectRouteEquals('server.subusers.view', $response, [
'uuid' => $server->uuid,
'id' => $subuser->id,
'id' => $subuser->hashid,
]);
}