Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-itu committed Dec 21, 2023
1 parent 614a437 commit d73e1c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Chirp.Razor.Tests/IntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public async Task CheckIfReactedByUser(string typeOfReaction)
await ar.CreateAuthor(user!);
var author = await ar.GetAuthorByName(authorName);
await cr.CreateCheep(cheep, author!);
var cheepUser = (await ar.GetAuthorByName(user!.Name)).Cheeps[0];
var cheepUser = (await ar.GetAuthorByName(user!.Name))!.Cheeps[0];

// the user that will like the cheep
await ur.CreateUser("CheepLiker", "[email protected]");
Expand Down Expand Up @@ -369,7 +369,7 @@ public async Task CheckIfReactedByUser_ChangedFromOneReactionToAnother(string fi
await ar.CreateAuthor(user!);
var author = await ar.GetAuthorByName(authorName);
await cr.CreateCheep(cheep, author!);
var cheepUser = (await ar.GetAuthorByName(user!.Name)).Cheeps[0];
var cheepUser = (await ar.GetAuthorByName(user!.Name))!.Cheeps[0];

// the user that will like the cheep
await ur.CreateUser("CheepLiker", "[email protected]");
Expand Down Expand Up @@ -420,7 +420,7 @@ public async Task CheckIfReactedByUser_ChangedFromUpvoteOrDownvoteToNoReaction(s
var author = await ar.GetAuthorByName(authorName);
await cr.CreateCheep(cheep, author!);

var cheepUser = (await ar.GetAuthorByName(user!.Name)).Cheeps[0];
var cheepUser = (await ar.GetAuthorByName(user!.Name))!.Cheeps[0];

// the user that will like the cheep
await ur.CreateUser("CheepLiker", "[email protected]");
Expand Down

0 comments on commit d73e1c6

Please sign in to comment.