From 861ae75a5fd2faf78003910d01817c67c06e6de4 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Mon, 24 Jul 2023 10:01:46 +0100 Subject: [PATCH] Update TestSQS.scala --- .../scala/com/github/pjfanning/pekkohttpspi/sqs/TestSQS.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/com/github/pjfanning/pekkohttpspi/sqs/TestSQS.scala b/src/test/scala/com/github/pjfanning/pekkohttpspi/sqs/TestSQS.scala index 78f3f8d..53a26f9 100644 --- a/src/test/scala/com/github/pjfanning/pekkohttpspi/sqs/TestSQS.scala +++ b/src/test/scala/com/github/pjfanning/pekkohttpspi/sqs/TestSQS.scala @@ -24,7 +24,7 @@ import software.amazon.awssdk.services.sqs.model._ class TestSQS extends ElasticMQSQSBaseAwsClientTest[SqsAsyncClient] { "Async SQS client" should { - "publish a message to a queue" ignore withClient { implicit client => + "publish a message to a queue" in withClient { implicit client => client.createQueue(CreateQueueRequest.builder().queueName("foo").build()).join() client .sendMessage(SendMessageRequest.builder().queueUrl(s"$endpoint/queue/foo").messageBody("123").build()) @@ -35,7 +35,7 @@ class TestSQS extends ElasticMQSQSBaseAwsClientTest[SqsAsyncClient] { receivedMessage.messages().get(0).body() should be("123") } - "delete a message" ignore withClient { implicit client => + "delete a message" in withClient { implicit client => client.createQueue(CreateQueueRequest.builder().queueName("foo").build()).join() client .sendMessage(SendMessageRequest.builder().queueUrl(s"$endpoint/queue/foo").messageBody("123").build())