Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function deleteNonExistingUser(ApiTester $I) |
||
37 | { |
||
38 | $I->wantTo('delete non-existing user'); |
||
39 | $I->haveHttpHeader('Content-Type', 'application/json'); |
||
40 | $I->sendDELETE('/user/0'); |
||
41 | $I->seeResponseCodeIs(HttpCode::NOT_FOUND); |
||
42 | $I->seeResponseContainsJson([ |
||
43 | 'data' => [ |
||
44 | 'user' => null |
||
45 | ] |
||
46 | ]); |
||
47 | } |
||
48 | } |
||
49 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.