adapt unit test for ensuring exception
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
a28b1d91f9
commit
3888b3a285
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue