Skip to content

Commit

Permalink
fixup! Add integration test for parallel db access in middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 5, 2024
1 parent ae902c1 commit 0402acd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/Testing/ApiTests/GqlMiddlewareTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ await Task.WhenAll(
var myProjects = json["data"]!["myProjects"]!.AsArray();
var ids = myProjects.Select(p => p!["id"]!.GetValue<Guid>());

foreach (var project in projects)
ids.ShouldContain(project.id);
projects.Select(p => p.id).ShouldBeSubsetOf(ids);
}
}

0 comments on commit 0402acd

Please sign in to comment.