Migrate AclMapper to QBMapper

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-02-24 14:09:22 +01:00
parent 4f23ebedb6
commit 7e23aa63be
2 changed files with 40 additions and 12 deletions

View File

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