Testing mapper on database

This commit is contained in:
Julius Haertl
2017-01-18 13:32:08 +01:00
parent 8f6e923e85
commit 736c6ced10
5 changed files with 158 additions and 38 deletions

View File

@@ -115,9 +115,8 @@ class PermissionService {
$board = $this->boardMapper->find($boardId);
if ($board && $this->userId === $board->getOwner()) {
return true;
} else {
return false;
}
return false;
}
/**