Skip to content
Snippets Groups Projects
Verified Commit 6a0db969 authored by Damien's avatar Damien
Browse files

[TEST] User unit test

parent 00a7b757
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ class UserControllerTest extends TestCase
$response = $userController->delete($request, new \Slim\Http\Response(), ['id' => self::$id]);
$responseBody = json_decode((string)$response->getBody());
$this->assertSame(_DELETED_USER, $responseBody->success);
$this->assertSame('success', $responseBody->success);
// READ
$environment = \Slim\Http\Environment::mock(['REQUEST_METHOD' => 'GET']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment