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-08-11 19:36:59 +02:00
parent 4b9bae2753
commit 0af05d62b7
6 changed files with 185 additions and 99 deletions
+2 -2
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();
}
}
}