This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]"); | ||
|
@@ -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]"); | ||
|
@@ -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]"); | ||
|