Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Feb 26, 2024
1 parent 483036f commit ba1a268
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions starsky/starskytest/FakeMocks/FakeIUserManger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ public Role GetRole(string credentialTypeCode, string identifier)
throw new System.NotImplementedException();
}

public Task<Role?> GetRoleAsync(int userId)
{
throw new System.NotImplementedException();
}

public bool PreflightValidate(string userName, string password,
string confirmPassword)
{
Expand Down
5 changes: 5 additions & 0 deletions starsky/starskytest/FakeMocks/FakeUserManagerActiveUsers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ public Task<ValidateResult> RemoveUser(string credentialTypeCode,
return Role;
}

public Task<Role?> GetRoleAsync(int userId)
{
return Task.FromResult(Role);
}

public bool PreflightValidate(string userName, string password, string confirmPassword)
{
return password != "false";
Expand Down

0 comments on commit ba1a268

Please sign in to comment.