Commit 66dc2406 authored by XenoAmess's avatar XenoAmess Committed by Andy Wilkinson

Fix typos in test code

See gh-22218
parent 2a9193f6
...@@ -43,8 +43,8 @@ import static org.assertj.core.api.Assertions.assertThat; ...@@ -43,8 +43,8 @@ import static org.assertj.core.api.Assertions.assertThat;
*/ */
@SpringBootTest @SpringBootTest
@ActiveProfiles({ "test1", "test2" }) @ActiveProfiles({ "test1", "test2" })
@ContextConfiguration(loader = SpringBootTestWithActiveProfilesAndSytemEnvironmentPropertyTests.Loader.class) @ContextConfiguration(loader = SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests.Loader.class)
public class SpringBootTestWithActiveProfilesAndSytemEnvironmentPropertyTests { public class SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests {
@Autowired @Autowired
private Environment environment; private Environment environment;
......
...@@ -57,7 +57,7 @@ class SoftReferenceConfigurationPropertyCacheTests { ...@@ -57,7 +57,7 @@ class SoftReferenceConfigurationPropertyCacheTests {
} }
@Test @Test
void enableEnablesCachingWithUnlimtedTimeToLive() { void enableEnablesCachingWithUnlimitedTimeToLive() {
this.cache.enable(); this.cache.enable();
get(this.cache).assertCounts(0, 0); get(this.cache).assertCounts(0, 0);
tick(Duration.ofDays(300)); tick(Duration.ofDays(300));
......
...@@ -116,7 +116,7 @@ abstract class AbstractJettyServletWebServerFactoryTests extends AbstractServlet ...@@ -116,7 +116,7 @@ abstract class AbstractJettyServletWebServerFactoryTests extends AbstractServlet
if (handler instanceof HandlerWrapper) { if (handler instanceof HandlerWrapper) {
return findWebAppContext(((HandlerWrapper) handler).getHandler()); return findWebAppContext(((HandlerWrapper) handler).getHandler());
} }
throw new IllegalStateException("No WebAppCotext found"); throw new IllegalStateException("No WebAppContext found");
} }
} }
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