Issue 158: Removed location override

This commit is contained in:
Jason King 2011-10-03 22:51:46 +01:00
parent 0dc804f4a7
commit 45a6541247
1 changed files with 1 additions and 3 deletions

View File

@ -69,9 +69,7 @@ public class SoftLayerComputeServiceAdapterLiveTest extends BaseSoftLayerClientL
public void testCreateNodeWithGroupEncodedIntoNameThenStoreCredentials() {
String group = "foo";
String name = "node"+new Random().nextInt();
Template template = computeContext.getComputeService().templateBuilder()
.locationId("3") // the default (singapore) doesn't work.
.build();
Template template = computeContext.getComputeService().templateBuilder().build();
// test passing custom options
template.getOptions().as(SoftLayerTemplateOptions.class).domainName("me.org");