Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshika39 committed Oct 23, 2023
1 parent 9c628fb commit c900bdc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public async Task JRT_0001_Given_InExistentJsonRepository_When_ConstructorCalled
try
{
await using var repository = CreateRepositoryFactory(@".\data").CreateJsonRepository<IUser, User>($"users-{id}");
await repository.SaveChangesAsync();
Assert.True(File.Exists(fileName));
var text = await File.ReadAllTextAsync(fileName);
Assert.Equal("[]", text);
Expand Down

0 comments on commit c900bdc

Please sign in to comment.