Skip to content

Commit

Permalink
FIx graphQL test
Browse files Browse the repository at this point in the history
  • Loading branch information
SapiensAnatis committed Jul 17, 2023
1 parent 9982413 commit f7efaa4
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions DragaliaAPI.Integration.Test/Features/GraphQL/GraphQlTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,8 @@ public async Task Query_PlayerCharacters_ReturnsExpectedResult()

response.Errors.Should().BeNullOrEmpty();

response.Data
.Should()
.BeEquivalentTo(
new Response(
new Player(
new Character[]
{
new((int)Charas.ThePrince),
new((int)Charas.SummerMikoto)
}
)
)
);

response.Data.Player.CharaList.Should().Contain(x => x.CharaId == Charas.ThePrince);
response.Data.Player.CharaList.Should().Contain(x => x.CharaId == Charas.SummerMikoto);
response.Data.Player.CharaList.Should().Contain(x => x.CharaId == (int)Charas.ThePrince);
response.Data.Player.CharaList.Should().Contain(x => x.CharaId == (int)Charas.SummerMikoto);
}

[Fact]
Expand Down

0 comments on commit f7efaa4

Please sign in to comment.