Use endpoint from parent class

This commit is contained in:
Andrei Savu 2012-02-01 18:35:53 +02:00
parent c10680647c
commit 19cb82a26e
1 changed files with 1 additions and 2 deletions

View File

@ -56,8 +56,7 @@ public class SessionClientLiveTest extends BaseCloudStackClientLiveTest {
assertEquals(
globalAdminClient.getUserClient().registerUserKeys(testUser.getId()),
ApiKeyPairs.getApiKeyPairForUser(
System.getProperty("test.cloudstack.endpoint"), prefix + "-user", "password", "")
ApiKeyPairs.getApiKeyPairForUser(endpoint, prefix + "-user", "password", "")
);
} finally {