From 719008b143619c4ee67e2b77cffdb189e1231999 Mon Sep 17 00:00:00 2001 From: Mauro Servienti Date: Wed, 20 Sep 2023 07:45:54 +0200 Subject: [PATCH] Adjust tests to the new wildcard format --- src/NServiceBus.Transport.SQS.Tests/InputQueuePumpTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NServiceBus.Transport.SQS.Tests/InputQueuePumpTests.cs b/src/NServiceBus.Transport.SQS.Tests/InputQueuePumpTests.cs index eaa244806..2783fbf7b 100644 --- a/src/NServiceBus.Transport.SQS.Tests/InputQueuePumpTests.cs +++ b/src/NServiceBus.Transport.SQS.Tests/InputQueuePumpTests.cs @@ -56,7 +56,7 @@ public async Task Start_loops_until_canceled() Assert.IsTrue(mockSqsClient.ReceiveMessagesRequestsSent.All(r => r.MaxNumberOfMessages == 1), "MaxNumberOfMessages did not match"); Assert.IsTrue(mockSqsClient.ReceiveMessagesRequestsSent.All(r => r.QueueUrl == FakeInputQueueQueueUrl), "QueueUrl did not match"); - Assert.IsTrue(mockSqsClient.ReceiveMessagesRequestsSent.All(r => r.MessageAttributeNames.SequenceEqual(new List { "*" })), "MessageAttributeNames did not match"); + Assert.IsTrue(mockSqsClient.ReceiveMessagesRequestsSent.All(r => r.MessageAttributeNames.SequenceEqual(new List { ".*" })), "MessageAttributeNames did not match"); Assert.IsTrue(mockSqsClient.ReceiveMessagesRequestsSent.All(r => r.AttributeNames.SequenceEqual(new List { "SentTimestamp" })), "AttributeNames did not match"); }