Skip to content

Commit 9750d2e

Browse files
committed
Fix OAuth2 sample integration test to expect corrected property names
See spring-projectsgh-9944
1 parent 5c8fc72 commit 9750d2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public void jobSample() throws Exception {
7474
@Test
7575
public void oauth2Sample() throws Exception {
7676
String output = this.cli.run("oauth2.groovy");
77-
assertThat(output).contains("security.oauth2.client.clientId");
78-
assertThat(output).contains("security.oauth2.client.secret =");
77+
assertThat(output).contains("security.oauth2.client.client-id");
78+
assertThat(output).contains("security.oauth2.client.client-secret =");
7979
}
8080

8181
@Test

0 commit comments

Comments
 (0)