diff --git a/tests/Paramore.Brighter.MSSQL.Tests/Outbox/When_writing_messages_to_the_message_store_async.cs b/tests/Paramore.Brighter.MSSQL.Tests/Outbox/When_writing_messages_to_the_message_store_async.cs index 544b6d1eeb..0cf25c7f32 100644 --- a/tests/Paramore.Brighter.MSSQL.Tests/Outbox/When_writing_messages_to_the_message_store_async.cs +++ b/tests/Paramore.Brighter.MSSQL.Tests/Outbox/When_writing_messages_to_the_message_store_async.cs @@ -59,9 +59,9 @@ public async Task When_Writing_Messages_To_The_Outbox_Async() _retrievedMessages = await _sqlOutbox.GetAsync(); //should read last message last from the outbox - _retrievedMessages.Any(m => m.Id == _messageLatest.Id).Should().BeTrue(); + _retrievedMessages.Any(m => m.Id == _messageThree.Id).Should().BeTrue(); //should read first message first from the outbox - _retrievedMessages.Any(m => m.Id == _messageEarliest.Id).Should().BeTrue(); + _retrievedMessages.Any(m => m.Id == _messageOne.Id).Should().BeTrue(); //should read the messages from the outbox _retrievedMessages.Should().HaveCount(3); }