diff --git a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java b/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
index <HASH>..<HASH> 100644
--- a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
+++ b/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
@@ -74,8 +74,8 @@ public class SampleIntegrationTests {
 	@Test
 	public void oauth2Sample() throws Exception {
 		String output = this.cli.run("oauth2.groovy");
-		assertThat(output).contains("security.oauth2.client.clientId");
-		assertThat(output).contains("security.oauth2.client.secret =");
+		assertThat(output).contains("security.oauth2.client.client-id");
+		assertThat(output).contains("security.oauth2.client.client-secret =");
 	}
 
 	@Test
Fix OAuth2 sample integration test to expect corrected property names

See gh-<I>