@@ -12,7 +12,6 @@ |
||
12 | 12 | use App\Containers\Authorization\UI\API\Requests\ListAllRolesRequest; |
13 | 13 | use App\Containers\Authorization\UI\API\Transformers\PermissionTransformer; |
14 | 14 | use App\Containers\Authorization\UI\API\Transformers\RoleTransformer; |
15 | -use App\Containers\Authorization\UI\API\Transformers\UserTransformer; |
|
16 | 15 | use App\Port\Controller\Abstracts\PortApiController; |
17 | 16 | |
18 | 17 | /** |
@@ -3,10 +3,7 @@ |
||
3 | 3 | namespace App\Containers\Order\UI\API\Tests\Functional; |
4 | 4 | |
5 | 5 | use App\Containers\Order\Models\Order; |
6 | -use App\Containers\Invoice\Models\Invoice; |
|
7 | -use App\Containers\User\Models\User; |
|
8 | 6 | use App\Port\Tests\PHPUnit\Abstracts\TestCase; |
9 | -use Vinkla\Hashids\Facades\Hashids; |
|
10 | 7 | |
11 | 8 | /** |
12 | 9 | * Class FindPermissionByNameTest. |
@@ -3,10 +3,7 @@ |
||
3 | 3 | namespace App\Containers\Order\UI\API\Tests\Functional; |
4 | 4 | |
5 | 5 | use App\Containers\Order\Models\Order; |
6 | -use App\Containers\Invoice\Models\Invoice; |
|
7 | -use App\Containers\User\Models\User; |
|
8 | 6 | use App\Port\Tests\PHPUnit\Abstracts\TestCase; |
9 | -use Vinkla\Hashids\Facades\Hashids; |
|
10 | 7 | |
11 | 8 | /** |
12 | 9 | * Class FindRoleByNameTest. |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Containers\Authorization\UI\API\Tests\Functional; |
4 | 4 | |
5 | -use App\Containers\Authorization\Models\User; |
|
6 | 5 | use App\Port\Tests\PHPUnit\Abstracts\TestCase; |
7 | 6 | |
8 | 7 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Containers\Authorization\UI\API\Tests\Functional; |
4 | 4 | |
5 | -use App\Containers\Authorization\Models\User; |
|
6 | 5 | use App\Port\Tests\PHPUnit\Abstracts\TestCase; |
7 | 6 | |
8 | 7 | /** |
@@ -67,7 +67,7 @@ |
||
67 | 67 | // be default give all users the client role (normal user) |
68 | 68 | $this->assignRoleTask->run($user, ['client']); |
69 | 69 | |
70 | - // add Client as role for normal users |
|
70 | + // add Client as role for normal users |
|
71 | 71 | $this->fireUserCreatedEventTask->run($user); |
72 | 72 | |
73 | 73 | return $user; |