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:
parent
044079967b
commit
a1e6187406
2 changed files with 14 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue