ARTEMIS-3892 fix test

This commit is contained in:
Justin Bertram 2022-07-21 10:19:38 -05:00
parent a49066e6b7
commit 14a4446ec1
No known key found for this signature in database
GPG Key ID: F41830B875BB8633
1 changed files with 1 additions and 1 deletions

View File

@ -2929,7 +2929,7 @@ public class ActiveMQServerControlTest extends ManagementTestBase {
Assert.assertNotEquals("consumerCount", "", array.getJsonObject(0).getString("consumerCount"));
Assert.assertEquals("maxConsumers", "-1", array.getJsonObject(0).getString("maxConsumers"));
Assert.assertEquals("autoCreated", "false", array.getJsonObject(0).getString("autoCreated"));
Assert.assertEquals("user", "guest", array.getJsonObject(0).getString("user"));
Assert.assertEquals("user", usingCore() ? "guest" : "", array.getJsonObject(0).getString("user"));
Assert.assertNotEquals("routingType", "", array.getJsonObject(0).getString("routingType"));
Assert.assertEquals("messagesAdded", "0", array.getJsonObject(0).getString("messagesAdded"));
Assert.assertEquals("messageCount", "0", array.getJsonObject(0).getString("messageCount"));