Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lpandzic committed Jan 12, 2022
1 parent 1c52ee6 commit 9d9c844
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ void shouldInitialize() {
String givenMessage = "test";

// when
Throwable actual = BDDAssertions.catchThrowable(
() -> rabbitTemplate.convertAndSend("test.exchange", "test.key.bar", givenMessage));
rabbitTemplate.convertAndSend("test.exchange", "test.key.bar", givenMessage);

// then
then(actual).isNull();
// then(actual).isNull();
}

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring:
rabbitmq:
port: 5005
docker:
image: rabbitmq:3.6.14-alpine

testcontainers.rabbit.docker.image: rabbitmq:3.6.14-alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
spring:
rabbitmq:
docker:
image: rabbitmq:3.6.14-alpine
testcontainers.rabbit.docker.image: rabbitmq:3.6.14-alpine

0 comments on commit 9d9c844

Please sign in to comment.