adapt unit test for ensuring exception

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-09-13 14:32:19 +02:00
parent a28b1d91f9
commit 3888b3a285
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 2 deletions

View File

@ -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() {