Skip to content

Commit

Permalink
Merge pull request #136 from reportportal/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
HardNorth authored Jan 21, 2025
2 parents d83538c + 90a7267 commit f289b31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]
### Changed
- Client version updated on [5.2.25](https://github.com/reportportal/client-java/releases/tag/5.2.25), by @HardNorth

## [5.3.4]
### Added
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ repositories {
}

dependencies {
api 'com.epam.reportportal:client-java:5.2.20'
api 'com.epam.reportportal:client-java:5.2.25'

compileOnly "org.junit.jupiter:junit-jupiter-api:${junit_version}"
implementation 'org.slf4j:slf4j-api:2.0.7'

testImplementation 'com.epam.reportportal:agent-java-test-utils:0.0.3'
testImplementation 'com.epam.reportportal:agent-java-test-utils:0.0.7'
testImplementation "org.junit.platform:junit-platform-runner:${junit_runner_version}" // We need runner for JUnit 4 compatibility tests
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junit_version}" // Required for tests to run
testImplementation "org.junit.jupiter:junit-jupiter-params:${junit_version}"
testImplementation 'org.aspectj:aspectjweaver:1.9.19'
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'org.mockito:mockito-core:3.3.3'
testImplementation 'ch.qos.logback:logback-classic:1.3.12'
testImplementation 'com.epam.reportportal:logger-java-logback:5.2.2'
testImplementation 'ch.qos.logback:logback-classic:1.3.15'
testImplementation 'com.epam.reportportal:logger-java-logback:5.2.3'
testImplementation 'org.assertj:assertj-core:3.23.1'
testImplementation 'com.squareup.okhttp3:okhttp:4.12.0'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void setupProperty() {
public void setupMock() {
Launch launch = mock(Launch.class);
IssueReportingTest.TestExtension.LAUNCH = launch;
when(launch.startTestItem(any())).thenAnswer((Answer<Maybe<String>>) invocation -> suiteMaybe);
when(launch.startTestItem(any())).thenReturn(suiteMaybe);
when(launch.startTestItem(any(), any())).thenAnswer((Answer<Maybe<String>>) invocation -> CommonUtils.createMaybeUuid());
when(launch.startTestItem(same(suiteMaybe), any())).thenAnswer((Answer<Maybe<String>>) invocation -> stepIds.poll());
when(launch.startTestItem(same(stepOneMaybe), any())).thenAnswer((Answer<Maybe<String>>) invocation -> stepIds.poll());
Expand Down

0 comments on commit f289b31

Please sign in to comment.