From 399fe1fde66fcac9f4757ffb0e560497ac530288 Mon Sep 17 00:00:00 2001 From: Lukas Brand Date: Mon, 7 Oct 2024 15:16:24 +0200 Subject: [PATCH] Fixed tests to use new logs --- .../commands/cli/subscribe/SubscribeDeprecationST.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/systemTest/java/com/hivemq/cli/commands/cli/subscribe/SubscribeDeprecationST.java b/src/systemTest/java/com/hivemq/cli/commands/cli/subscribe/SubscribeDeprecationST.java index fed4390ae..9c6eaf220 100644 --- a/src/systemTest/java/com/hivemq/cli/commands/cli/subscribe/SubscribeDeprecationST.java +++ b/src/systemTest/java/com/hivemq/cli/commands/cli/subscribe/SubscribeDeprecationST.java @@ -70,7 +70,7 @@ void test_userProperties_legacyInformation(final char mqttVersion) throws Except final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand); executionResult.awaitStdErr( - "Options \"-up\" and \"--userProperty\" are legacy, please use \"--user-property\". They will be removed in a future version."); + "Options \"-up\" and \"--userProperty\" are legacy, please use \"--user-property\". Legacy options will be removed in a future version."); assertSubscribe(executionResult); @@ -140,7 +140,7 @@ void test_outputFile_legacyInformation(final char mqttVersion) throws Exception final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand); executionResult.awaitStdErr( - "Options \"-of\" and \"--outputToFile\" are legacy, please use \"--output-to-file\". They will be removed in a future version."); + "Options \"-of\" and \"--outputToFile\" are legacy, please use \"--output-to-file\". Legacy options will be removed in a future version."); assertSubscribe(executionResult); @@ -200,7 +200,7 @@ void test_base64_legacyInformation(final char mqttVersion) throws Exception { final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand); executionResult.awaitStdErr( - "Option \"-b64\" is legacy, please use \"--base64\". It will be removed in a future version."); + "Option \"-b64\" is legacy, please use \"--base64\". The legacy option will be removed in a future version."); assertSubscribe(executionResult); @@ -250,7 +250,7 @@ void test_showJson_legacyInformation(final char mqttVersion) throws Exception { final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand); executionResult.awaitStdErr( - "Option \"--jsonOutput\" is legacy, please use \"--json-output\". It will be removed in a future version."); + "Option \"--jsonOutput\" is legacy, please use \"--json-output\". The legacy option will be removed in a future version."); assertSubscribe(executionResult); @@ -313,7 +313,7 @@ void test_showTopic_legacyInformation(final char mqttVersion) throws Exception { final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand); executionResult.awaitStdErr( - "Option \"--showTopics\" is legacy, please use \"-T\" or \"--show-topics\". It will be removed in a future version."); + "Option \"--showTopics\" is legacy, please use \"-T\" or \"--show-topics\". The legacy option will be removed in a future version."); assertSubscribe(executionResult);