File tree 1 file changed +3
-3
lines changed
aws/spring-cloud-sns-sqs-pubsub/integration-test/src/test/java/io/reflectoring
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ static void properties(DynamicPropertyRegistry registry) {
67
67
void test (CapturedOutput output ) {
68
68
// prepare API request body to create user
69
69
final var name = RandomString .make ();
70
- final var emailId = RandomString .make () + "@domain.it " ;
70
+ final var emailId = RandomString .make () + "@reflectoring.io " ;
71
71
final var password = RandomString .make ();
72
72
final var userCreationRequestBody = String .format ("""
73
73
{
@@ -84,11 +84,11 @@ void test(CapturedOutput output) {
84
84
.content (userCreationRequestBody ))
85
85
.andExpect (status ().isCreated ());
86
86
87
- // assert that message has been received by the queue
87
+ // assert that message has been published to SNS topic
88
88
final var expectedPublisherLog = String .format ("Successfully published message to topic ARN: %s" , TOPIC_ARN );
89
89
Awaitility .await ().atMost (1 , TimeUnit .SECONDS ).until (() -> output .getAll ().contains (expectedPublisherLog ));
90
90
91
- // assert that message has been received by the queue
91
+ // assert that message has been received by the SQS queue
92
92
final var expectedSubscriberLog = String .format ("Dispatching account creation email to %s on %s" , name , emailId );
93
93
Awaitility .await ().atMost (1 , TimeUnit .SECONDS ).until (() -> output .getAll ().contains (expectedSubscriberLog ));
94
94
}
You can’t perform that action at this time.
0 commit comments