diff --git a/spring-platform-config-client/src/test/java/org/springframework/platform/context/restart/RestartIntegrationTests.java b/spring-platform-config-client/src/test/java/org/springframework/platform/context/restart/RestartIntegrationTests.java index f45026f4..0a6a7b4b 100644 --- a/spring-platform-config-client/src/test/java/org/springframework/platform/context/restart/RestartIntegrationTests.java +++ b/spring-platform-config-client/src/test/java/org/springframework/platform/context/restart/RestartIntegrationTests.java @@ -41,7 +41,7 @@ public class RestartIntegrationTests { @Test public void testRestartTwice() throws Exception { - context = SpringApplication.run(TestConfiguration.class, "--endpoints.restart.enabled=true", "--servert.port=0"); + context = SpringApplication.run(TestConfiguration.class, "--endpoints.restart.enabled=true", "--server.port=0"); RestartEndpoint endpoint = context.getBean(RestartEndpoint.class); assertNotNull(context.getParent()); assertNull(context.getParent().getParent());