Skip to content

Commit 8242e85

Browse files
committed
Spring Boot 2.2
This change starts the development of a Spring Boot 2.2.x compatible branch. Signed-off-by: Ben Hale <[email protected]>
1 parent fc7b356 commit 8242e85

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.idea/compiler.xml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/uaa/IdentityZoneBuilderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
import static org.mockito.Mockito.mock;
2424
import static org.mockito.Mockito.verify;
25-
import static org.mockito.Mockito.verifyZeroInteractions;
25+
import static org.mockito.Mockito.verifyNoInteractions;
2626

2727
public final class IdentityZoneBuilderTest {
2828

@@ -40,7 +40,7 @@ public void augment() {
4040
public void augmentNotIdentityZoned() {
4141
IdentityZoneBuilder.augment(this.outbound, new Object());
4242

43-
verifyZeroInteractions(this.outbound);
43+
verifyNoInteractions(this.outbound);
4444
}
4545

4646
private static final class StubIdentityZoned implements IdentityZoned {

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/uaa/VersionBuilderTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
import static org.mockito.Mockito.mock;
2424
import static org.mockito.Mockito.verify;
25-
import static org.mockito.Mockito.verifyZeroInteractions;
25+
import static org.mockito.Mockito.verifyNoInteractions;
2626

2727

2828
public final class VersionBuilderTest {
@@ -38,13 +38,13 @@ public void augment() {
3838
@Test
3939
public void augmentNotVersioned() {
4040
VersionBuilder.augment(this.outbound, new Object());
41-
verifyZeroInteractions(this.outbound);
41+
verifyNoInteractions(this.outbound);
4242
}
4343

4444
@Test
4545
public void augmentNullVersion() {
4646
VersionBuilder.augment(this.outbound, new StubVersioned(null));
47-
verifyZeroInteractions(this.outbound);
47+
verifyNoInteractions(this.outbound);
4848
}
4949

5050
private static final class StubVersioned implements Versioned {

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/util/ErrorPayloadMappersTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void clientV3ClientError() throws IOException {
136136
assertThat(t).isInstanceOf(ClientV3Exception.class)
137137
.hasMessage("CF-UnprocessableEntity(10008): something went wrong")
138138
.extracting("statusCode")
139-
.containsExactly(BAD_REQUEST.code());
139+
.isEqualTo(BAD_REQUEST.code());
140140

141141
assertThat(((ClientV3Exception) t).getErrors()).flatExtracting(org.cloudfoundry.client.v3.Error::getCode,
142142
org.cloudfoundry.client.v3.Error::getDetail,
@@ -171,7 +171,7 @@ public void clientV3ServerError() throws IOException {
171171
assertThat(t).isInstanceOf(ClientV3Exception.class)
172172
.hasMessage("CF-UnprocessableEntity(10008): something went wrong")
173173
.extracting("statusCode")
174-
.containsExactly(INTERNAL_SERVER_ERROR.code());
174+
.isEqualTo(INTERNAL_SERVER_ERROR.code());
175175

176176
assertThat(((ClientV3Exception) t).getErrors()).flatExtracting(org.cloudfoundry.client.v3.Error::getCode,
177177
org.cloudfoundry.client.v3.Error::getDetail,

cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/ClientV3ExceptionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void test() {
4242
assertThat(exception)
4343
.hasNoCause()
4444
.hasMessage("test-title-1(-2): test-detail-1, test-title-2(-3): test-detail-2")
45-
.extracting("statusCode").containsExactly(-1);
45+
.extracting("statusCode").isEqualTo(-1);
4646

4747
assertThat(exception.getErrors())
4848
.flatExtracting(Error::getCode, Error::getDetail, Error::getTitle)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<groupId>org.cloudfoundry</groupId>
2626
<artifactId>cloudfoundry-java-client</artifactId>
2727
<name>Cloud Foundry Java Client Parent</name>
28-
<version>3.17.0.BUILD-SNAPSHOT</version>
28+
<version>3.18.0.BUILD-SNAPSHOT</version>
2929
<packaging>pom</packaging>
3030
<url>https://github.com/cloudfoundry/cf-java-client</url>
3131

0 commit comments

Comments
 (0)