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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user