summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-13 14:32:19 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-26 23:10:24 +0200
commit3888b3a285734f8c3319689f5681dff3aa21f5e9 (patch)
treec461d0a78b0a4273370cfec6b66d788a550ca7b7 /apps/files_sharing
parenta28b1d91f95f421c6efbb7752d9404c6719c0688 (diff)
downloadnextcloud-server-3888b3a285734f8c3319689f5681dff3aa21f5e9.tar.gz
nextcloud-server-3888b3a285734f8c3319689f5681dff3aa21f5e9.zip
adapt unit test for ensuring exception
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php
index 529a8754b83..85b4f5ae35d 100644
--- a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php
@@ -403,8 +403,8 @@ class ShareesAPIControllerTest extends TestCase {
* @expectedException \OCP\AppFramework\OCS\OCSBadRequestException
* @expectedExceptionMessage Missing itemType
*/
- public function testSearchShareesNoItemType() {
- $this->invokePrivate($this->sharees, 'searchSharees', ['', null, [], [], 0, 0, false]);
+ public function testSearchNoItemType() {
+ $this->sharees->search('', null, 0, 0, [], false);
}
public function dataGetPaginationLink() {