Fix tests

This commit is contained in:
Matej Bačo
2022-06-14 11:38:47 +00:00
parent 0aaa5779ab
commit 697bb569ef
-2
View File
@@ -56,8 +56,6 @@ function createUser(string $hash, mixed $hashOptions, string $userId, string $em
'memberships' => null,
'search' => implode(' ', [$userId, $email, $name])
]));
return $user;
} catch (Duplicate $th) {
throw new Exception('Account already exists', 409, Exception::USER_ALREADY_EXISTS);
}