Skip to content

Commit

Permalink
cw
Browse files Browse the repository at this point in the history
  • Loading branch information
juuwel committed Apr 24, 2024
1 parent e4c7bbd commit 68b9409
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/AuthTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public async Task LogInInvalidCredentials()

await ws.DoAndAssert(new ClientWantsToLogInDto { LoginDto = loginDto }, receivedMessages =>
{
receivedMessages.ForEach(e => Console.WriteLine(e.eventType));
return receivedMessages.Count(e => e.eventType == nameof(ServerAuthenticatesUser)) == 0
&& receivedMessages.Count(e => e.eventType == nameof(ServerRejectsWrongCredentials)) == 1;
});
Expand Down

0 comments on commit 68b9409

Please sign in to comment.