Completed
Push — master ( 563d71...071fd8 )
by Mahmoud
03:32
created
app/Containers/User/UI/API/Controllers/Controller.php 2 patches
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,9 +87,7 @@
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @param \App\Containers\User\UI\API\Requests\RegisterRequest $request
91
-     * @param \App\Containers\User\Actions\CreateUserAction        $createUserAction
92
-     * @param \App\Containers\User\Actions\UpdateVisitorUserAction $updateVisitorUserAction
90
+     * @param RegisterUserRequest $request
93 91
      *
94 92
      * @return  \Dingo\Api\Http\Response
95 93
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use App\Containers\User\Actions\ListAndSearchUsersAction;
9 9
 use App\Containers\User\Actions\RegisterUserAction;
10 10
 use App\Containers\User\Actions\RegisterVisitorUserAction;
11
-use App\Containers\User\Actions\SwitchVisitorToUserAction;
12 11
 use App\Containers\User\Actions\UpdateUserAction;
13 12
 use App\Containers\User\UI\API\Requests\CreateAdminRequest;
14 13
 use App\Containers\User\UI\API\Requests\DeleteUserRequest;
Please login to merge, or discard this patch.
app/Containers/User/UI/API/Tests/Functional/RegisterVisitorUserTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
             'name'  => $data['name'],
34 34
         ], $response);
35 35
 
36
-         // assert response contain the token
36
+            // assert response contain the token
37 37
         $this->assertResponseContainKeys(['id', 'token'], $response);
38 38
 
39
-         // assert the data is stored in the database
39
+            // assert the data is stored in the database
40 40
         $this->seeInDatabase('users', ['email' => $data['email']]);
41 41
     }
42 42
 
Please login to merge, or discard this patch.
app/Containers/User/UI/API/Tests/Functional/RegisterUserTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
             'name'  => $data['name'],
34 34
         ], $response);
35 35
 
36
-         // assert response contain the token
36
+            // assert response contain the token
37 37
         $this->assertResponseContainKeys(['id', 'token'], $response);
38 38
 
39
-         // assert the data is stored in the database
39
+            // assert the data is stored in the database
40 40
         $this->seeInDatabase('users', ['email' => $data['email']]);
41 41
     }
42 42
 
Please login to merge, or discard this patch.
app/Containers/User/UI/API/Tests/Functional/CreateAdminTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@
 block discarded – undo
36 36
             'name'  => $data['name'],
37 37
         ], $response);
38 38
 
39
-         // assert response contain the token
39
+            // assert response contain the token
40 40
         $this->assertResponseContainKeys(['id', 'token'], $response);
41 41
 
42
-         // assert the data is stored in the database
42
+            // assert the data is stored in the database
43 43
         $this->seeInDatabase('users', ['email' => $data['email']]);
44 44
 
45 45
         $responseObject = $this->getResponseObject($response);
Please login to merge, or discard this patch.