Skip to content

Commit a74a3eb

Browse files
authored
Fix some inconsistencies in tests (#1501)
1 parent 9eaf9db commit a74a3eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/ReadWrite/Deleting/DeleteResourceTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
4545

4646
await _testContext.RunOnDatabaseAsync(async dbContext =>
4747
{
48-
WorkItem? workItemsInDatabase = await dbContext.WorkItems.FirstWithIdOrDefaultAsync(existingWorkItem.Id);
48+
WorkItem? workItemInDatabase = await dbContext.WorkItems.FirstWithIdOrDefaultAsync(existingWorkItem.Id);
4949

50-
workItemsInDatabase.Should().BeNull();
50+
workItemInDatabase.Should().BeNull();
5151
});
5252
}
5353

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/ReadWrite/Fetching/FetchResourceTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
230230
}
231231

232232
[Fact]
233-
public async Task Can_get_unknown_secondary_OneToMany_resource()
233+
public async Task Can_get_unknown_secondary_OneToMany_resources()
234234
{
235235
// Arrange
236236
UserAccount userAccount = _fakers.UserAccount.Generate();

0 commit comments

Comments
 (0)