Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/admin_notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Controller/APIControllerTest.php')
-rw-r--r--tests/Controller/APIControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Controller/APIControllerTest.php b/tests/Controller/APIControllerTest.php
index 2dbf726..1191803 100644
--- a/tests/Controller/APIControllerTest.php
+++ b/tests/Controller/APIControllerTest.php
@@ -72,6 +72,7 @@ class APIControllerTest extends \Test\TestCase {
return [
['user', '', '', false, null, false, null, 123, null, Http::STATUS_NOT_FOUND],
['user', '', '', false, null, false, 'user', 123, null, Http::STATUS_BAD_REQUEST],
+ ['user', null, '', false, null, false, 'user', 123, null, Http::STATUS_BAD_REQUEST],
['user', str_repeat('a', 256), '', false, null, false, 'user', 123, null, Http::STATUS_BAD_REQUEST],
['user', 'short', '', true, false, false, 'user', 123, '7b', Http::STATUS_OK],
['user', 'short', str_repeat('a', 4001), false, null, false, 'user', 123, null, Http::STATUS_BAD_REQUEST],