summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-12 10:34:38 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-12 10:34:38 +0100
commitbe8125b8e2cf93eccad5cad09c9a1fd8167515b8 (patch)
tree87a2eeba2a08c7c2b0edcb5106c7aa53f394da19
parent71976a095fd777e2727e40229d33ade338298a37 (diff)
downloadnextcloud-server-be8125b8e2cf93eccad5cad09c9a1fd8167515b8.tar.gz
nextcloud-server-be8125b8e2cf93eccad5cad09c9a1fd8167515b8.zip
Add unit tests to make sure we do not lower the search
-rw-r--r--apps/files_sharing/tests/api/shareestest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/api/shareestest.php b/apps/files_sharing/tests/api/shareestest.php
index 96ffe4682c0..f4e9123976a 100644
--- a/apps/files_sharing/tests/api/shareestest.php
+++ b/apps/files_sharing/tests/api/shareestest.php
@@ -1043,6 +1043,10 @@ class ShareesTest extends TestCase {
[[], 'no', 'yes', true, '', null, $allTypes, 1, 200, false, true],
[[], 'no', 'no', true, '', null, $allTypes, 1, 200, false, false],
+ // Test keep case for search
+ [[
+ 'search' => 'foo@example.com/ownCloud',
+ ], '', 'yes', true, 'foo@example.com/ownCloud', null, $allTypes, 1, 200, false, true],
];
}