Skip to content

Commit fd94dab

Browse files
authored
Update test dependencies (#384)
1 parent aa4d64d commit fd94dab

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

httpClient/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ repositories {
77
}
88

99
dependencies {
10-
testImplementation group: 'org.testng', name: 'testng', version: '7.4.0'
11-
testImplementation group: 'com.github.tomakehurst', name: 'wiremock-jre8', version: '2.35.0'
12-
testImplementation group: 'org.easytesting', name: 'fest-assert', version: '1.4'
10+
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
11+
testImplementation group: 'com.github.tomakehurst', name: 'wiremock-jre8', version: '2.35.1'
1312
}

httpClient/src/test/java/httpClient/HttpBuilderTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
import java.lang.reflect.Field;
2727
import java.util.List;
2828

29-
import static org.fest.assertions.Assertions.assertThat;
29+
import static org.hamcrest.CoreMatchers.instanceOf;
30+
import static org.hamcrest.MatcherAssert.assertThat;
3031
import static org.testng.AssertJUnit.assertNull;
3132

3233

@@ -253,7 +254,7 @@ private CloseableHttpClient getCloseableHttpClient(HttpClient client) {
253254

254255
private HttpHost getDefaultHost(CloseableHttpClient client) {
255256
DefaultRoutePlanner routePlanner = getRoutePlanner(client);
256-
assertThat(routePlanner).isInstanceOf(DefaultHostSpecificProxyRoutePlanner.class);
257+
assertThat(routePlanner, instanceOf(DefaultHostSpecificProxyRoutePlanner.class));
257258
return getDefaultHost((DefaultHostSpecificProxyRoutePlanner) routePlanner);
258259
}
259260

services/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies {
99
implementation addSlf4J('jcl-over-slf4j')
1010
implementation 'commons-io:commons-io:2.8.0'
1111
testImplementation group: 'org.hamcrest', name: 'hamcrest-core', version: '2.2'
12-
testImplementation group: 'org.testng', name: 'testng', version: '7.4.0'
12+
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
1313
/*
1414
* Don't depend upon a specific logging implementation as a compile or runtime dependency.
1515
* https://github.com/jfrog/artifactory-client-java/issues/43
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=2.15.0
1+
version=2.16.0

0 commit comments

Comments
 (0)