diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Wallabag/ApiBundle/Controller/UserRestControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/UserRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/UserRestControllerTest.php index c1095da8..5735bc58 100644 --- a/tests/Wallabag/ApiBundle/Controller/UserRestControllerTest.php +++ b/tests/Wallabag/ApiBundle/Controller/UserRestControllerTest.php | |||
@@ -52,7 +52,7 @@ class UserRestControllerTest extends WallabagApiTestCase | |||
52 | 'email' => 'wallabag@google.com', | 52 | 'email' => 'wallabag@google.com', |
53 | ]); | 53 | ]); |
54 | 54 | ||
55 | $this->assertEquals(200, $this->client->getResponse()->getStatusCode()); | 55 | $this->assertEquals(201, $this->client->getResponse()->getStatusCode()); |
56 | 56 | ||
57 | $content = json_decode($this->client->getResponse()->getContent(), true); | 57 | $content = json_decode($this->client->getResponse()->getContent(), true); |
58 | 58 | ||
@@ -81,7 +81,7 @@ class UserRestControllerTest extends WallabagApiTestCase | |||
81 | 'email' => 'wallabag@google.com', | 81 | 'email' => 'wallabag@google.com', |
82 | ]); | 82 | ]); |
83 | 83 | ||
84 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | 84 | $this->assertEquals(201, $client->getResponse()->getStatusCode()); |
85 | 85 | ||
86 | $content = json_decode($client->getResponse()->getContent(), true); | 86 | $content = json_decode($client->getResponse()->getContent(), true); |
87 | 87 | ||