Fix failing test
This commit is contained in:
@@ -936,13 +936,13 @@ public class BoshEditorTest {
|
||||
editor = harness.newEditor(
|
||||
"stemcells:\n" +
|
||||
"- alias: good\n" +
|
||||
" os: ubuntu-trusty\n" +
|
||||
" os: ubuntu\n" +
|
||||
"- alias: not-so-good\n" +
|
||||
" os: bogus<*>"
|
||||
);
|
||||
editor.ignoreProblem(YamlSchemaProblems.MISSING_PROPERTY);
|
||||
editor.assertProblems(
|
||||
"bogus|unknown 'StemcellOs'. Valid values are: [centos-7, ubuntu-trusty]"
|
||||
"bogus|unknown 'StemcellOs'. Valid values are: [ubuntu, centos]"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -57,4 +57,10 @@ public class BoshCommandStemcellsProviderTest {
|
||||
provider.getModel(mock(DynamicSchemaContext.class)).getStemcellOss());
|
||||
}
|
||||
|
||||
@Test public void getVersions() throws Exception {
|
||||
assertEquals(ImmutableSet.of("3421.11"),
|
||||
provider.getModel(mock(DynamicSchemaContext.class)).getVersions());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user