fix: unit tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-03-14 08:34:02 +01:00
parent c95c96fb40
commit 26c76fbb46
4 changed files with 20 additions and 19 deletions

View File

@@ -528,7 +528,7 @@ class BoardService {
$this->boardMapper->mapAcl($newAcl);
$this->changeHelper->boardChanged($boardId);
$board = $this->find($boardId);
$board = $this->boardMapper->find($boardId);
$this->clearBoardFromCache($board);
// TODO: use the dispatched event for this
@@ -731,7 +731,7 @@ class BoardService {
/**
* Clean a given board data
* from the Cache
*
*
* @param OCA\Deck\Db\Board $board
*/
private function clearBoardFromCache(Board $board) {