Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrothauer committed Jan 30, 2024
1 parent 5594c48 commit efda654
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestCase/Controller/UsersControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ public function testDeleteLastOrgaUserWithNonDeletedWorkshop()
$this->get(Configure::read('AppConfig.htmlHelper')->urlUserWorkshopResign('user', $userUid, $ownerAndAssociatedWorkshopId));

// 3. successfully delete user
$user = $this->User->get($userUid, [
'contain' => [
$user = $this->User->get($userUid,
contain: [
'OwnerWorkshops',
]
]);
);
$this->User->delete($user);

// 4. check changed owner of workshops
Expand Down

0 comments on commit efda654

Please sign in to comment.