@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Containers\Email\UI\API\Tests\Functional; |
| 4 | 4 | |
| 5 | -use App\Containers\Email\Mails\ConfirmEmail; |
|
| 6 | 5 | use App\Port\Tests\PHPUnit\Abstracts\TestCase; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | * @param $agentId |
| 33 | 33 | * @param null $platform |
| 34 | 34 | * @param null $device |
| 35 | - * @param bool|false $login |
|
| 36 | 35 | * |
| 37 | 36 | * @return mixed |
| 38 | 37 | */ |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * |
| 37 | 37 | * @param \App\Containers\User\Tasks\FindUserByVisitorIdTask $findUserByVisitorIdTask |
| 38 | 38 | * @param \App\Containers\User\Tasks\UpdateUserTask $updateUserTask |
| 39 | - * @param \App\Containers\User\Actions\ApiLoginThisUserObjectTask $apiLoginThisUserObjectTask |
|
| 39 | + * @param ApiLoginThisUserObjectTask $apiLoginThisUserObjectTask |
|
| 40 | 40 | */ |
| 41 | 41 | public function __construct( |
| 42 | 42 | FindUserByVisitorIdTask $findUserByVisitorIdTask, |
@@ -30,10 +30,10 @@ |
||
| 30 | 30 | public $loggedInTestingUser; |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * @param $endpoint |
|
| 33 | + * @param string $endpoint |
|
| 34 | 34 | * @param string $verb |
| 35 | 35 | * @param array $data |
| 36 | - * @param bool|true $protected |
|
| 36 | + * @param boolean $protected |
|
| 37 | 37 | * @param array $header |
| 38 | 38 | * |
| 39 | 39 | * @throws \Symfony\Component\Debug\Exception\UndefinedMethodException |
@@ -37,10 +37,10 @@ |
||
| 37 | 37 | 'name' => $data['name'], |
| 38 | 38 | ], $response); |
| 39 | 39 | |
| 40 | - // assert response contain the token |
|
| 40 | + // assert response contain the token |
|
| 41 | 41 | $this->assertResponseContainKeys(['id', 'token'], $response); |
| 42 | 42 | |
| 43 | - // assert the data is stored in the database |
|
| 43 | + // assert the data is stored in the database |
|
| 44 | 44 | $this->seeInDatabase('users', ['email' => $data['email']]); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -37,10 +37,10 @@ |
||
| 37 | 37 | 'name' => $data['name'], |
| 38 | 38 | ], $response); |
| 39 | 39 | |
| 40 | - // assert response contain the token |
|
| 40 | + // assert response contain the token |
|
| 41 | 41 | $this->assertResponseContainKeys(['id', 'token'], $response); |
| 42 | 42 | |
| 43 | - // assert the data is stored in the database |
|
| 43 | + // assert the data is stored in the database |
|
| 44 | 44 | $this->seeInDatabase('users', ['email' => $data['email']]); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use App\Containers\User\Actions\GetUserAction; |
| 8 | 8 | use App\Containers\User\Actions\ListAndSearchUsersAction; |
| 9 | 9 | use App\Containers\User\Actions\RegisterVisitorUserAction; |
| 10 | -use App\Containers\User\Actions\SwitchVisitorToUserAction; |
|
| 11 | 10 | use App\Containers\User\Actions\UpdateUserAction; |
| 12 | 11 | use App\Containers\User\Actions\UpdateVisitorUserAction; |
| 13 | 12 | use App\Containers\User\UI\API\Requests\DeleteUserRequest; |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @return mixed |
|
| 28 | + * @return \Illuminate\Support\Collection |
|
| 29 | 29 | */ |
| 30 | 30 | public function run() |
| 31 | 31 | { |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | - * @param \App\Containers\Countries\UI\API\Transformers\Country $country |
|
| 17 | + * @param Country $country |
|
| 18 | 18 | * |
| 19 | 19 | * @return array |
| 20 | 20 | */ |