fix adminOrg testName annotations

This commit is contained in:
danikov 2012-03-22 13:48:49 +00:00
parent e153b1ed22
commit 9ff1a792af
1 changed files with 4 additions and 4 deletions

View File

@ -84,14 +84,14 @@ public class AdminOrgClientLiveTest extends BaseVCloudDirectorClientLiveTest {
Checks.checkAdminOrg(adminOrg); Checks.checkAdminOrg(adminOrg);
} }
@Test(testName = "GET /admin/org/{id}/settings/emailSettings") @Test(testName = "GET /admin/org/{id}/settings/email")
public void testGetEmailSettings() { public void testGetEmailSettings() {
emailSettings = orgClient.getEmailSettings(orgRef.getHref()); emailSettings = orgClient.getEmailSettings(orgRef.getHref());
Checks.checkEmailSettings(emailSettings); Checks.checkEmailSettings(emailSettings);
} }
@Test(testName = "PUT /admin/org/{id}/settings/emailSettings", @Test(testName = "PUT /admin/org/{id}/settings/email",
dependsOnMethods = { "testGetEmailSettings" }) dependsOnMethods = { "testGetEmailSettings" })
public void testUpdateEmailSettings() { public void testUpdateEmailSettings() {
boolean isDefaultSmtpServer = emailSettings.isDefaultSmtpServer(); boolean isDefaultSmtpServer = emailSettings.isDefaultSmtpServer();
@ -159,14 +159,14 @@ public class AdminOrgClientLiveTest extends BaseVCloudDirectorClientLiveTest {
} }
} }
@Test(testName = "GET /admin/org/{id}/settings/generalSettings") @Test(testName = "GET /admin/org/{id}/settings/general")
public void testGetGeneralSettings() { public void testGetGeneralSettings() {
generalSettings = orgClient.getGeneralSettings(orgRef.getHref()); generalSettings = orgClient.getGeneralSettings(orgRef.getHref());
Checks.checkGeneralSettings(generalSettings); Checks.checkGeneralSettings(generalSettings);
} }
@Test(testName = "PUT /admin/org/{id}/settings/generalSettings", @Test(testName = "PUT /admin/org/{id}/settings/general",
dependsOnMethods = { "testGetGeneralSettings" } ) dependsOnMethods = { "testGetGeneralSettings" } )
public void testUpdateGeneralSettings() { public void testUpdateGeneralSettings() {
// FIXME: canPublishCatalogs does not update // FIXME: canPublishCatalogs does not update