Fix typos in test code
See gh-22218
This commit is contained in:
committed by
Andy Wilkinson
parent
2a9193f6d9
commit
66dc24062f
@@ -57,7 +57,7 @@ class SoftReferenceConfigurationPropertyCacheTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void enableEnablesCachingWithUnlimtedTimeToLive() {
|
||||
void enableEnablesCachingWithUnlimitedTimeToLive() {
|
||||
this.cache.enable();
|
||||
get(this.cache).assertCounts(0, 0);
|
||||
tick(Duration.ofDays(300));
|
||||
|
||||
@@ -116,7 +116,7 @@ abstract class AbstractJettyServletWebServerFactoryTests extends AbstractServlet
|
||||
if (handler instanceof HandlerWrapper) {
|
||||
return findWebAppContext(((HandlerWrapper) handler).getHandler());
|
||||
}
|
||||
throw new IllegalStateException("No WebAppCotext found");
|
||||
throw new IllegalStateException("No WebAppContext found");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user