1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Return 201 on user creation

This commit is contained in:
Jeremy Benoist 2017-06-02 20:03:25 +02:00
parent 044079967b
commit a1e6187406
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 14 additions and 7 deletions

View file

@ -52,7 +52,7 @@ class UserRestControllerTest extends WallabagApiTestCase
'email' => 'wallabag@google.com',
]);
$this->assertEquals(200, $this->client->getResponse()->getStatusCode());
$this->assertEquals(201, $this->client->getResponse()->getStatusCode());
$content = json_decode($this->client->getResponse()->getContent(), true);
@ -81,7 +81,7 @@ class UserRestControllerTest extends WallabagApiTestCase
'email' => 'wallabag@google.com',
]);
$this->assertEquals(200, $client->getResponse()->getStatusCode());
$this->assertEquals(201, $client->getResponse()->getStatusCode());
$content = json_decode($client->getResponse()->getContent(), true);