Skip to content

Commit

Permalink
Update TestSQS.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jul 24, 2023
1 parent 8768f80 commit 861ae75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand Down

0 comments on commit 861ae75

Please sign in to comment.