zone -> region in Cinder AvailabilityZoneApiLiveTest

Follow-up to 1205010c
This commit is contained in:
Andrew Phillips 2014-10-23 23:06:28 -07:00
parent 1205010cfa
commit 6cb1558424
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ public class AvailabilityZoneApiLiveTest extends BaseCinderApiLiveTest {
@BeforeClass(groups = {"integration", "live"}) @BeforeClass(groups = {"integration", "live"})
public void setupContext() { public void setupContext() {
super.setup(); super.setup();
String zone = Iterables.getFirst(api.getConfiguredZones(), "regionOne"); String region = Iterables.getFirst(api.getConfiguredRegions(), "regionOne");
availabilityZoneApi = api.getAvailabilityZoneApi(zone); availabilityZoneApi = api.getAvailabilityZoneApi(region);
} }
public void testListAvailabilityZones() { public void testListAvailabilityZones() {