Skip to content

Commit 37121cb

Browse files
committed
Fix tests
1 parent 70532cf commit 37121cb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/BitzArt.Blazor.Auth.Tests/BlazorAuthAuthenticationStateProviderTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ public async Task<AuthenticationState> GetAuthenticationStateAsync(CancellationT
1717
return new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity([claim])));
1818
}
1919

20+
public Task<AuthenticationOperationInfo> RefreshJwtPairAsync(CancellationToken cancellationToken = default)
21+
=> throw new NotImplementedException();
22+
2023
public Task<AuthenticationOperationInfo> RefreshJwtPairAsync(string refreshToken, CancellationToken cancellationToken = default)
2124
=> throw new NotImplementedException();
2225

@@ -28,7 +31,7 @@ public Task SignOutAsync(CancellationToken cancellationToken = default)
2831
public async Task GetAuthenticationStateAsync_Simaltaneous_ShouldReuseTheSameRequest()
2932
{
3033
// Arrange
31-
var provider = new BlazorAuthAuthenticationStateProvider(new TestUserService());
34+
var provider = new BlazorAuthAuthenticationStateProvider(new TestUserService(), new());
3235

3336
// Act
3437
var primaryTask = provider.GetAuthenticationStateAsync();

0 commit comments

Comments
 (0)