Skip to content

Commit d94fbc4

Browse files
committed
issue-1357: Add/fix integration test
1 parent 599ab9e commit d94fbc4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

integration-test/src/test/java/org/cloudfoundry/uaa/ClientsTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public void batchCreate() {
121121
.authorizedGrantType(PASSWORD)
122122
.clientId(clientId1)
123123
.clientSecret(clientSecret)
124+
.allowPublic(true)
124125
.scopes("client.read", "client.write")
125126
.tokenSalt("test-token-salt")
126127
.build())
@@ -145,6 +146,7 @@ public void batchCreate() {
145146
assertThat(response.getScopes())
146147
.containsExactly("client.read", "client.write");
147148
assertThat(response.getTokenSalt()).isEqualTo("test-token-salt");
149+
assertThat(response.getAllowPublic()).isTrue();
148150
})
149151
.expectComplete()
150152
.verify(Duration.ofMinutes(5));

0 commit comments

Comments
 (0)