summaryrefslogtreecommitdiff
path: root/tests/Unit/Controllers/AuthControllerTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-07-10 13:34:15 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-07-10 13:34:15 +0200
commit6743106d9a8c760580690aab704f908766731801 (patch)
tree36dd2333d4148cb593e9f7fb3790740605cd1f12 /tests/Unit/Controllers/AuthControllerTest.php
parent6d5ada252202bfb29eba884cf9567e969d798607 (diff)
Replaced validation with `respect/validation`
Diffstat (limited to 'tests/Unit/Controllers/AuthControllerTest.php')
-rw-r--r--tests/Unit/Controllers/AuthControllerTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/Unit/Controllers/AuthControllerTest.php b/tests/Unit/Controllers/AuthControllerTest.php
index d3dbfa4b..c3d9659c 100644
--- a/tests/Unit/Controllers/AuthControllerTest.php
+++ b/tests/Unit/Controllers/AuthControllerTest.php
@@ -8,7 +8,6 @@ use Engelsystem\Http\Exceptions\ValidationException;
use Engelsystem\Http\Request;
use Engelsystem\Http\Response;
use Engelsystem\Http\UrlGeneratorInterface;
-use Engelsystem\Http\Validation\Validates;
use Engelsystem\Http\Validation\Validator;
use Engelsystem\Models\User\Settings;
use Engelsystem\Models\User\User;
@@ -66,7 +65,7 @@ class AuthControllerTest extends TestCase
list(, , $url, $auth) = $this->getMocks();
$session = new Session(new MockArraySessionStorage());
/** @var Validator|MockObject $validator */
- $validator = new Validator(new Validates());
+ $validator = new Validator();
$user = new User([
'name' => 'foo',