Skip to content

Commit

Permalink
Fix typos in test code
Browse files Browse the repository at this point in the history
  • Loading branch information
XenoAmess authored and wilkinsona committed Jul 7, 2020
1 parent 2a9193f commit 66dc240
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -43,8 +43,8 @@
*/
@SpringBootTest
@ActiveProfiles({ "test1", "test2" })
@ContextConfiguration(loader = SpringBootTestWithActiveProfilesAndSytemEnvironmentPropertyTests.Loader.class)
public class SpringBootTestWithActiveProfilesAndSytemEnvironmentPropertyTests {
@ContextConfiguration(loader = SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests.Loader.class)
public class SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests {

@Autowired
private Environment environment;
Expand Down
Expand Up @@ -57,7 +57,7 @@ void getWhenNeverExpireReturnsValueWithCorrectCounts() {
}

@Test
void enableEnablesCachingWithUnlimtedTimeToLive() {
void enableEnablesCachingWithUnlimitedTimeToLive() {
this.cache.enable();
get(this.cache).assertCounts(0, 0);
tick(Duration.ofDays(300));
Expand Down
Expand Up @@ -116,7 +116,7 @@ private WebAppContext findWebAppContext(Handler handler) {
if (handler instanceof HandlerWrapper) {
return findWebAppContext(((HandlerWrapper) handler).getHandler());
}
throw new IllegalStateException("No WebAppCotext found");
throw new IllegalStateException("No WebAppContext found");
}

}

0 comments on commit 66dc240

Please sign in to comment.