gogrid test glitches

This commit is contained in:
Adrian Cole 2012-05-14 15:33:49 -07:00
parent ef0bba6050
commit 2a10087df9
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class GoGridProviderMetadata extends BaseProviderMetadata {
.apiMetadata(new GoGridApiMetadata()) .apiMetadata(new GoGridApiMetadata())
.homepage(URI.create("http://www.gogrid.com")) .homepage(URI.create("http://www.gogrid.com"))
.console(URI.create("https://my.gogrid.com/gogrid")) .console(URI.create("https://my.gogrid.com/gogrid"))
.iso3166Codes("US-CA", "US-VA", "BR-SP") .iso3166Codes("US-CA", "US-VA", "NL-NH")
.endpoint("https://api.gogrid.com/api") .endpoint("https://api.gogrid.com/api")
.defaultProperties(GoGridProviderMetadata.defaultProperties()); .defaultProperties(GoGridProviderMetadata.defaultProperties());
} }

View File

@ -59,7 +59,7 @@ public class GoGridTemplateBuilderLiveTest extends BaseTemplateBuilderLiveTest {
case UBUNTU: case UBUNTU:
return input.version.equals("") || input.version.equals("10.04"); return input.version.equals("") || input.version.equals("10.04");
case CENTOS: case CENTOS:
return input.version.equals("") || input.version.matches("5.[56]") || input.version.equals("6.0"); return input.version.equals("") || input.version.matches("5.[06]") || input.version.equals("6.0");
case WINDOWS: case WINDOWS:
return input.version.equals("") || input.version.matches("200[38]"); return input.version.equals("") || input.version.matches("200[38]");
default: default: