This commit is contained in:
Carsten Otto
2022-05-26 12:19:30 +02:00
parent 4ea129a42a
commit e9bbec18ed

View File

@@ -78,7 +78,9 @@ class PaymentLoopTest {
SoftAssertions softly = new SoftAssertions();
softly.assertThat(paymentStatus.isFailure()).isTrue();
softly.assertThat(paymentStatus.getMessages().stream().map(InstantWithString::string)).contains("");
softly.assertThat(paymentStatus.getMessages().stream().map(InstantWithString::string))
.contains("Unable to find route (trying to send 123)");
softly.assertAll();
verifyNoInteractions(grpcSendToRoute);
}