mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 19:47:03 -04:00
fix: the tests use the new typing from create methods
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
8cda5f99fb
commit
b1d4696895
11 changed files with 77 additions and 65 deletions
|
@ -95,7 +95,7 @@ describe('IdentityService', () => {
|
|||
|
||||
describe('loginWithLocalIdentity', () => {
|
||||
it('works', async () => {
|
||||
const identity = Identity.create(user, ProviderType.LOCAL);
|
||||
const identity = Identity.create(user, ProviderType.LOCAL) as Identity;
|
||||
identity.passwordHash = await hashPassword(password);
|
||||
user.identities = Promise.resolve([identity]);
|
||||
await expect(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue