Finish unit tests for all server services

This commit is contained in:
Dane Everitt 2017-07-22 20:15:01 -05:00
parent 3add44d342
commit acbc52506c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
21 changed files with 1609 additions and 206 deletions

View file

@ -36,10 +36,6 @@ class ServerFormRequest extends AdminFormRequest
*/
public function rules()
{
if ($this->method() === 'PATCH') {
return Server::getUpdateRulesForId($this->id);
}
return Server::getCreateRules();
}