aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-11 11:52:49 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-29 00:59:09 -0300
commit2507e7459d42e47f0581aeb69b738fec6497c6b5 (patch)
tree2af7cf283c5d974965617330b665896d4231ab17 /tests
parent74802ca72f27f41beb577f0ba9c085a50ed224e2 (diff)
downloadnextcloud-server-2507e7459d42e47f0581aeb69b738fec6497c6b5.tar.gz
nextcloud-server-2507e7459d42e47f0581aeb69b738fec6497c6b5.zip
Improve wording of error messages
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Controller/UsersControllerTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Settings/Controller/UsersControllerTest.php b/tests/Settings/Controller/UsersControllerTest.php
index 5cae52ece70..b6eba294d36 100644
--- a/tests/Settings/Controller/UsersControllerTest.php
+++ b/tests/Settings/Controller/UsersControllerTest.php
@@ -2455,7 +2455,7 @@ class UsersControllerTest extends \Test\TestCase {
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to disable user.',
+ 'message' => 'Error while disabling user.',
],
],
Http::STATUS_FORBIDDEN
@@ -2530,7 +2530,7 @@ class UsersControllerTest extends \Test\TestCase {
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to disable user.',
+ 'message' => 'Error while disabling user.',
],
]
);
@@ -2567,7 +2567,7 @@ class UsersControllerTest extends \Test\TestCase {
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to disable user.',
+ 'message' => 'Error while disabling user.',
],
]
);
@@ -2669,7 +2669,7 @@ class UsersControllerTest extends \Test\TestCase {
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to enable user.',
+ 'message' => 'Error while enabling user.',
],
],
Http::STATUS_FORBIDDEN
@@ -2744,7 +2744,7 @@ class UsersControllerTest extends \Test\TestCase {
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to enable user.',
+ 'message' => 'Error while enabling user.',
],
]
);
@@ -2781,7 +2781,7 @@ class UsersControllerTest extends \Test\TestCase {
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to enable user.',
+ 'message' => 'Error while enabling user.',
],
]
);