tests: assert json diff between import/export

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-07-27 20:38:13 +02:00
parent 4b9bae2753
commit 0af05d62b7
6 changed files with 185 additions and 99 deletions

View File

@@ -532,12 +532,12 @@ class BoardMapper extends QBMapper implements IPermissionMapper {
if ($boardId) {
unset($this->boardCache[$boardId]);
} else {
$this->boardCache = null;
$this->boardCache = new CappedMemoryCache();
}
if ($userId) {
unset($this->userBoardCache[$userId]);
} else {
$this->userBoardCache = null;
$this->userBoardCache = new CappedMemoryCache();
}
}
}