Author: borges
Date: 2011-09-26 08:10:11 -0400 (Mon, 26 Sep 2011)
New Revision: 11427
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/SecurityManagementWithConfiguredAdminUserTest.java
Log:
Fix test using default password, set it to use UnitTestCase.CLUSTER_PASSWORD
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/SecurityManagementWithConfiguredAdminUserTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/SecurityManagementWithConfiguredAdminUserTest.java 2011-09-26
12:06:13 UTC (rev 11426)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/SecurityManagementWithConfiguredAdminUserTest.java 2011-09-26
12:10:11 UTC (rev 11427)
@@ -24,6 +24,7 @@
import org.hornetq.core.server.HornetQServers;
import org.hornetq.core.settings.HierarchicalRepository;
import org.hornetq.spi.core.security.HornetQSecurityManagerImpl;
+import org.hornetq.tests.util.UnitTestCase;
/**
* A SecurityManagementTest
@@ -58,9 +59,7 @@
*/
public void testSendManagementMessageWithClusterAdminUser() throws Exception
{
- doSendManagementMessage(ConfigurationImpl.DEFAULT_CLUSTER_USER,
- ConfigurationImpl.DEFAULT_CLUSTER_PASSWORD,
- true);
+ doSendManagementMessage(ConfigurationImpl.DEFAULT_CLUSTER_USER,
UnitTestCase.CLUSTER_PASSWORD, true);
}
public void testSendManagementMessageWithAdminRole() throws Exception