Skip to content

Commit

Permalink
fix permission interface changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Sep 23, 2023
1 parent 6c0cce3 commit 677ac15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Controller/ApiControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ protected function setUp() : void
TestUtils::setMember($account, 'id', 1);

$permission = new AccountPermission();
$permission->setUnit(1);
$permission->setApp(2);
$permission->unit = 1;
$permission->app = 2;
$permission->setPermission(
PermissionType::READ
| PermissionType::CREATE
Expand Down

0 comments on commit 677ac15

Please sign in to comment.