Fixed a refactoring typo

This commit is contained in:
andreisavu 2011-12-02 20:26:40 +02:00
parent 7ab9d17c8a
commit 46e3e4d20a
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public class TemplateClientLiveTest extends BaseCloudStackClientLiveTest {
assert virtualMachineDestroyed.apply(vm);
}
if (createdTemplate != null) {
AsyncCreateResponse deleteJob = client.getTemplateClient().deleteTemplate(template.getId());
AsyncCreateResponse deleteJob = client.getTemplateClient().deleteTemplate(createdTemplate.getId());
assertTrue(jobComplete.apply(deleteJob.getJobId()));
client.getTemplateClient().deleteTemplate(createdTemplate.getId());
}