Merge branch 'develop' into feature/exception-tests

This commit is contained in:
Dane Everitt 2018-05-20 16:26:18 -07:00 committed by GitHub
commit 37a5e29db9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
135 changed files with 241 additions and 209 deletions

View file

@ -79,7 +79,7 @@ class RemoteRequestControllerTest extends ControllerTestCase
}
/**
* Test that the controller properly handles an exception thrown by the daemon conneciton.
* Test that the controller properly handles an exception thrown by the daemon connection.
*/
public function testExceptionThrownByDaemonConnectionIsHandledByDisplayController()
{
@ -125,7 +125,7 @@ class RemoteRequestControllerTest extends ControllerTestCase
}
/**
* Test that the controller properly handles an exception thrown by the daemon conneciton.
* Test that the controller properly handles an exception thrown by the daemon connection.
*/
public function testExceptionThrownByDaemonConnectionIsHandledByStoreController()
{

View file

@ -36,7 +36,7 @@ class AuthenticateIPAccessTest extends MiddlewareTestCase
/**
* Test that a CIDR range can be used.
*/
public function testValidIPAganistCIDRRange()
public function testValidIPAgainstCIDRRange()
{
$model = factory(ApiKey::class)->make(['allowed_ips' => '["192.168.1.1/28"]']);
$this->setRequestAttribute('api_key', $model);

View file

@ -59,7 +59,7 @@ class AuthenticateKeyTest extends MiddlewareTestCase
}
/**
* Test that an invalid API identifer throws an exception.
* Test that an invalid API identifier throws an exception.
*
* @expectedException \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
*/