Skip to content

Commit

Permalink
Initialize ProcessingVersion in test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelvds committed Nov 28, 2024
1 parent 07d7535 commit dd0d632
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public override async Task<IMiddlewareQueueItemRepository> CreateRepository(IEnu
public override async Task InsertOrUpdateAsync_ShouldUpdateEntry_IfEntryAlreadyExists()
{
var entries = StorageTestFixtureProvider.GetFixture().CreateMany<ftQueueItem>(10).ToList();
foreach (var entry in entries)
{
entry.ProcessingVersion = "0.0.0";
}

var sut = await CreateRepository(entries);
var count = (await sut.GetAsync()).Count();
var entryToUpdate = await sut.GetAsync(entries[0].ftQueueItemId);
Expand Down

0 comments on commit dd0d632

Please sign in to comment.