Skip to content

Commit

Permalink
chore: fix formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Aug 29, 2023
1 parent 7921407 commit dc39a40
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/kotlin/features/ping/PingProtocolSteps.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ class PingProtocolSteps {
@Then("{actor} receives trusted ping message back asynchronously")
fun recipientGetTrustedPingMessageBackAsynchronously(recipient: Actor) {
val didCommResponse = recipient.usingAbilityTo(ListenToHttpMessages::class.java).receivedResponse()
?: throw Exception("No async response received from mediator! " +
"There could be a problem with the mediator or a listener port can be not available.")
?: throw Exception(
"No async response received from mediator! " +
"There could be a problem with the mediator or a listener port can be not available."
)
val didCommResponseMessage = recipient.usingAbilityTo(CommunicateViaDidcomm::class.java).unpackMessage(didCommResponse)
recipient.attemptsTo(
Ensure.that(SerenityRest.lastResponse().statusCode).isEqualTo(SC_OK),
Expand Down

0 comments on commit dc39a40

Please sign in to comment.