]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add unit tests to make sure we do not lower the search
authorRoeland Jago Douma <rullzer@owncloud.com>
Tue, 12 Jan 2016 09:34:38 +0000 (10:34 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Tue, 12 Jan 2016 09:34:38 +0000 (10:34 +0100)
apps/files_sharing/tests/api/shareestest.php

index 96ffe4682c08077104c2335d45b15e115dfc7962..f4e9123976a1edd5f32a8a6b243f2842fb2149ca 100644 (file)
@@ -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],
                ];
        }