From 69d57f9a3521b4267f82b9b2aabd27d2465abdee Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 29 Sep 2015 10:08:29 -0700 Subject: [PATCH] Polish --- .../boot/actuate/system/ApplicationPidFileWriterTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/system/ApplicationPidFileWriterTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/system/ApplicationPidFileWriterTests.java index 0ad3e07738..4a13f56d05 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/system/ApplicationPidFileWriterTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/system/ApplicationPidFileWriterTests.java @@ -92,7 +92,7 @@ public class ApplicationPidFileWriterTests { @Test public void overridePidFileWithSpring() throws Exception { File file = this.temporaryFolder.newFile(); - SpringApplicationEvent event = createPreparedEvent("spring.pidfile", + SpringApplicationEvent event = createPreparedEvent("spring.pid.file", file.getAbsolutePath()); ApplicationPidFileWriter listener = new ApplicationPidFileWriter(); listener.onApplicationEvent(event); @@ -102,7 +102,7 @@ public class ApplicationPidFileWriterTests { @Test public void differentEventTypes() throws Exception { File file = this.temporaryFolder.newFile(); - SpringApplicationEvent event = createEnvironmentPreparedEvent("spring.pidfile", + SpringApplicationEvent event = createEnvironmentPreparedEvent("spring.pid.file", file.getAbsolutePath()); ApplicationPidFileWriter listener = new ApplicationPidFileWriter(); listener.onApplicationEvent(event);