Commit 17d0dc5a authored by izeye's avatar izeye Committed by Stephane Nicoll

Polish tests

Closes gh-3946
parent 3444ebbc
......@@ -97,7 +97,6 @@ public class PropertiesConfigurationFactoryTests {
this.factory.setPropertySources(propertySources);
this.factory.setIgnoreUnknownFields(false);
this.factory.afterPropertiesSet();
this.factory.getObject();
Foo foo = this.factory.getObject();
assertEquals("bar", foo.name);
}
......
......@@ -88,7 +88,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
}
@Test
public void unknonwFieldFailureMessageContainsDetailsOfPropertyOrigin() {
public void unknownFieldFailureMessageContainsDetailsOfPropertyOrigin() {
this.context = new AnnotationConfigApplicationContext();
EnvironmentTestUtils.addEnvironment(this.context, "com.example.baz:spam");
this.context.register(TestConfiguration.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment