Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek committed Sep 16, 2024
1 parent b03a890 commit a2fa4b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/OrchardCore.Tests/Apis/GraphQL/Blog/BlogPostTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public async Task ShouldListAllBlogs()
.WithField("contentItemId");
});

Assert.Single(
result["data"]["blog"].AsArray().Where(node => node["contentItemId"].ToString() == context.BlogContentItemId));
Assert.Single(result["data"]["blog"].AsArray(),
node => node["contentItemId"].ToString() == context.BlogContentItemId);
}

[Fact]
Expand Down

0 comments on commit a2fa4b7

Please sign in to comment.