Skip to content

Commit e842130

Browse files
committed
Fix flaky test with wrong logic from copy/paste error
1 parent 1b2714f commit e842130

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tests/RepositoryTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,12 @@ await CloudStorageAccount.DevelopmentStorageAccount.CreateCloudTableClient().Get
335335

336336
var partition = TablePartition.Create(CloudStorageAccount.DevelopmentStorageAccount, nameof(CanMergeDynamicEntity), "Dynamic", updateStrategy: UpdateStrategy.Merge);
337337

338-
await repo.PutAsync(new DynamicTableEntity("Book", "1234", "*", new Dictionary<string, EntityProperty>
338+
await partition.PutAsync(new DynamicTableEntity("Dynamic", "1234", "*", new Dictionary<string, EntityProperty>
339339
{
340340
{ "Status", EntityProperty.GeneratePropertyForString("OK") },
341341
}));
342342

343-
entity = (DynamicTableEntity)await repo.PutAsync(new DynamicTableEntity("Book", "1234", "*", new Dictionary<string, EntityProperty>
343+
entity = (DynamicTableEntity)await partition.PutAsync(new DynamicTableEntity("Dynamic", "1234", "*", new Dictionary<string, EntityProperty>
344344
{
345345
{ "Reason", EntityProperty.GeneratePropertyForString("Done") },
346346
}));

0 commit comments

Comments
 (0)