From 44bda712179b46137a30a4dd36b21a869ff7ac74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Cogolu=C3=A8gnes?= Date: Mon, 9 Sep 2024 11:55:15 +0200 Subject: [PATCH] Fix SASL test --- .../com/rabbitmq/stream/sasl/DefaultSaslConfigurationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/rabbitmq/stream/sasl/DefaultSaslConfigurationTest.java b/src/test/java/com/rabbitmq/stream/sasl/DefaultSaslConfigurationTest.java index 49acf86d90..8a93928420 100644 --- a/src/test/java/com/rabbitmq/stream/sasl/DefaultSaslConfigurationTest.java +++ b/src/test/java/com/rabbitmq/stream/sasl/DefaultSaslConfigurationTest.java @@ -58,6 +58,6 @@ void getSaslMechanismShouldThrowExceptionIfNoMechanismSpecifiedAndNoMatch() { assertThatThrownBy(() -> configuration.getSaslMechanism(asList("FOO", "BAR"))) .isInstanceOf(IllegalStateException.class) .hasMessage( - "Unable to agree on a SASL mechanism. Client: PLAIN, EXTERNAL / server FOO, BAR."); + "Unable to agree on a SASL mechanism. Client: PLAIN, ANONYMOUS, EXTERNAL / server FOO, BAR."); } }