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

@@ -625,11 +625,9 @@ class BoardService {
} catch (\Exception $e) {
}
}
$delete = $this->aclMapper->delete($acl);
$this->eventDispatcher->dispatchTyped(new AclDeletedEvent($acl));
return $delete;
return (bool) $this->aclMapper->delete($acl);
}
/**