From 9750d2e59d46004694b4b8198fd4417f34027099 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 9 Aug 2017 12:07:57 +0100 Subject: [PATCH] Fix OAuth2 sample integration test to expect corrected property names See gh-9944 --- .../org/springframework/boot/cli/SampleIntegrationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 55cedb6027..09178fbc2b 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