tests: Fix missing behat context methods

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2024-01-09 17:52:41 +01:00
parent 6a3f4ecee9
commit 635880a27b
4 changed files with 25 additions and 4 deletions

View File

@@ -158,7 +158,6 @@ class PermissionService {
$permissions = $this->getPermissions($boardId, $userId);
if ($permissions[$permission] === true) {
if (!$allowDeletedCard && $mapper instanceof CardMapper) {
$card = $mapper->find($id);
if ($card->getDeletedAt() > 0) {