Skip to content

Commit

Permalink
Merge pull request #10 from reportportal/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
HardNorth authored Jan 22, 2025
2 parents 1036db7 + f757344 commit a0e3de2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
java-version: '8'

- name: Setup git credentials
uses: oleksiyrudenko/gha-git-credentials@v2.1.1
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
name: 'reportportal.io'
email: 'support@reportportal.io'
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

## [Unreleased]
### Changed
- Client version updated on [5.2.26](https://github.com/reportportal/client-java/releases/tag/5.2.26), by @HardNorth
- `utils-java-formatting` library version updated on version [5.2.5](https://github.com/reportportal/utils-java-formatting/releases/tag/5.2.5), by @HardNorth

## [5.1.4]
### Changed
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ repositories {
}

dependencies {
api 'com.epam.reportportal:utils-java-formatting:5.2.3'
api 'com.epam.reportportal:utils-java-formatting:5.2.5'
compileOnly "com.epam.reportportal:client-java:${client_version}"
compileOnly "com.google.code.findbugs:jsr305:${jsr305_version}"
compileOnly "com.squareup.okhttp3:okhttp:${okhttp_version}"

testImplementation "com.epam.reportportal:client-java:${client_version}"
testImplementation "com.google.code.findbugs:jsr305:${jsr305_version}"
testImplementation "com.squareup.okhttp3:okhttp:${okhttp_version}"
testImplementation 'com.epam.reportportal:agent-java-test-utils:0.0.2'
testImplementation 'com.epam.reportportal:agent-java-test-utils:0.0.7'

testImplementation("org.junit.platform:junit-platform-runner:${junit5_runner_version}") {
exclude module: 'junit'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version=5.1.5-SNAPSHOT
description=Report Portal logger for OkHttp3 client
okhttp_version=4.12.0
client_version=5.2.13
client_version=5.2.26
jsr305_version=3.0.2
junit5_version=5.6.3
junit5_runner_version=1.6.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.epam.reportportal.service.Launch;
import com.epam.reportportal.service.ReportPortal;
import com.epam.reportportal.service.step.StepReporter;
import com.epam.reportportal.util.test.CommonUtils;
import com.epam.reportportal.utils.files.Utils;
import com.epam.reportportal.utils.http.ContentType;
import okhttp3.*;
Expand Down Expand Up @@ -192,7 +193,7 @@ private Triple<List<String>, List<String>, List<ReportPortalMessage>> runChainCo
StepReporter reporter = mock(StepReporter.class);
utilities.when(Launch::currentLaunch).thenReturn(launch);
when(launch.getStepReporter()).thenReturn(reporter);
doNothing().when(reporter).sendStep(any(ItemStatus.class), stepCaptor.capture());
when(reporter.sendStep(any(ItemStatus.class), stepCaptor.capture())).thenReturn(CommonUtils.createMaybeUuid());
runChain(request, response, mock -> {
mock.when(() -> ReportPortal.emitLog(stringArgumentCaptor.capture(), anyString(), any(Date.class)))
.thenReturn(Boolean.TRUE);
Expand Down

0 comments on commit a0e3de2

Please sign in to comment.