diff options
Diffstat (limited to 'tests/settings/controller/userscontrollertest.php')
-rw-r--r-- | tests/settings/controller/userscontrollertest.php | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/tests/settings/controller/userscontrollertest.php b/tests/settings/controller/userscontrollertest.php index 0f1dfb4e685..4b0683b6dae 100644 --- a/tests/settings/controller/userscontrollertest.php +++ b/tests/settings/controller/userscontrollertest.php @@ -153,12 +153,9 @@ class UsersControllerTest extends \Test\TestCase { $expectedResponse = new DataResponse( array( - 'status' => 'success', - 'data' => array( - 'username' => 'foo', - 'groups' => null, - 'storageLocation' => '/home/user' - ) + 'username' => 'foo', + 'groups' => null, + 'storageLocation' => '/home/user' ), Http::STATUS_CREATED ); @@ -213,12 +210,9 @@ class UsersControllerTest extends \Test\TestCase { $expectedResponse = new DataResponse( array( - 'status' => 'success', - 'data' => array( - 'username' => 'foo', - 'groups' => array('NewGroup', 'ExistingGroup'), - 'storageLocation' => '/home/user' - ) + 'username' => 'foo', + 'groups' => array('NewGroup', 'ExistingGroup'), + 'storageLocation' => '/home/user' ), Http::STATUS_CREATED ); @@ -237,10 +231,7 @@ class UsersControllerTest extends \Test\TestCase { $expectedResponse = new DataResponse( array( - 'status' => 'error', - 'data' => array( - 'message' => 'Unable to create user.' - ) + 'message' => 'Unable to create user.' ), Http::STATUS_FORBIDDEN ); |