Skip to content
Snippets Groups Projects
Commit 52b36924 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX TU

parent 3c3a0245
No related branches found
No related tags found
No related merge requests found
...@@ -601,7 +601,7 @@ class UserControllerTest extends TestCase ...@@ -601,7 +601,7 @@ class UserControllerTest extends TestCase
$response = $userController->deleteCurrentUserEmailSignature($request, new \Slim\Http\Response(), ['id' => self::$idEmailSignature]); $response = $userController->deleteCurrentUserEmailSignature($request, new \Slim\Http\Response(), ['id' => self::$idEmailSignature]);
$responseBody = json_decode((string)$response->getBody()); $responseBody = json_decode((string)$response->getBody());
$this->assertNotEmpty($responseBody->emailSignatures); $this->assertNotNull($responseBody->emailSignatures);
$titleEmailSignature = ''; $titleEmailSignature = '';
$htmlBodyEmailSignature = ''; $htmlBodyEmailSignature = '';
......
...@@ -52,7 +52,7 @@ class CoreControllerTest extends TestCase ...@@ -52,7 +52,7 @@ class CoreControllerTest extends TestCase
$this->assertInternalType('int', $responseBody->user->id); $this->assertInternalType('int', $responseBody->user->id);
$this->assertSame("superadmin", $responseBody->user->user_id); $this->assertSame("superadmin", $responseBody->user->user_id);
$this->assertSame("Super", $responseBody->user->firstname); $this->assertSame("Super", $responseBody->user->firstname);
$this->assertSame("Admin", $responseBody->user->lastname); $this->assertSame("ADMIN", $responseBody->user->lastname);
$this->assertInternalType('array', $responseBody->user->groups); $this->assertInternalType('array', $responseBody->user->groups);
$this->assertInternalType('array', $responseBody->user->entities); $this->assertInternalType('array', $responseBody->user->entities);
$this->assertInternalType('array', $responseBody->user->indexingGroups); $this->assertInternalType('array', $responseBody->user->indexingGroups);
......
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