Skip to content

Commit 8692647

Browse files
committed
Fix Undefined variable fm
1 parent 93a2713 commit 8692647

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/sprinkles/admin/tests/Integration/Controller/UserControllerGuestTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ public function testUpdateFieldWithMasterUserWithNoPermissions(UserController $c
627627

628628
// In case the user don't exist
629629
if (!$user) {
630+
$fm = $this->ci->factory;
630631
$user = $fm->create('UserFrosting\Sprinkle\Account\Database\Models\User', [
631632
'id' => $this->ci->config['reserved_user_ids.master']
632633
]);

0 commit comments

Comments
 (0)