Fix test case which relied on mapper->delete() returning a bool value

Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com>
This commit is contained in:
Raul Ferreira Fuentes
2022-04-11 20:04:16 +02:00
parent 8399b00a10
commit 8c1e53a8df
3 changed files with 3 additions and 4 deletions

View File

@@ -420,7 +420,7 @@ class BoardServiceTest extends TestCase {
$this->aclMapper->expects($this->once())
->method('delete')
->with($acl)
->willReturn(true);
->willReturn($acl);
$this->assertTrue($this->service->deleteAcl(123));
}
}