Merge pull request #205 from andreisavu/template-live-test-typo

Fixed a refactoring typo
This commit is contained in:
Adrian Cole 2011-12-02 10:39:48 -08:00
commit 325e36efb0
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());
}