Skip to content

Commit

Permalink
Update test dependencies (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Nov 9, 2023
1 parent aa4d64d commit fd94dab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions httpClient/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ repositories {
}

dependencies {
testImplementation group: 'org.testng', name: 'testng', version: '7.4.0'
testImplementation group: 'com.github.tomakehurst', name: 'wiremock-jre8', version: '2.35.0'
testImplementation group: 'org.easytesting', name: 'fest-assert', version: '1.4'
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
testImplementation group: 'com.github.tomakehurst', name: 'wiremock-jre8', version: '2.35.1'
}
5 changes: 3 additions & 2 deletions httpClient/src/test/java/httpClient/HttpBuilderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
import java.lang.reflect.Field;
import java.util.List;

import static org.fest.assertions.Assertions.assertThat;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.testng.AssertJUnit.assertNull;


Expand Down Expand Up @@ -253,7 +254,7 @@ private CloseableHttpClient getCloseableHttpClient(HttpClient client) {

private HttpHost getDefaultHost(CloseableHttpClient client) {
DefaultRoutePlanner routePlanner = getRoutePlanner(client);
assertThat(routePlanner).isInstanceOf(DefaultHostSpecificProxyRoutePlanner.class);
assertThat(routePlanner, instanceOf(DefaultHostSpecificProxyRoutePlanner.class));
return getDefaultHost((DefaultHostSpecificProxyRoutePlanner) routePlanner);
}

Expand Down
2 changes: 1 addition & 1 deletion services/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
implementation addSlf4J('jcl-over-slf4j')
implementation 'commons-io:commons-io:2.8.0'
testImplementation group: 'org.hamcrest', name: 'hamcrest-core', version: '2.2'
testImplementation group: 'org.testng', name: 'testng', version: '7.4.0'
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
/*
* Don't depend upon a specific logging implementation as a compile or runtime dependency.
* https://github.com/jfrog/artifactory-client-java/issues/43
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2.15.0
version=2.16.0

0 comments on commit fd94dab

Please sign in to comment.