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:40:14 +02:00
parent b78f8a664f
commit 60df897bd2
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();
}
}
}