Skip to content

Commit

Permalink
Merge pull request #15 from reportportal/rc/5.10.0
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
IvanKustau authored Aug 28, 2023
2 parents 79b0024 + 933ff17 commit e3e3716
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ repositories {
dependencyManagement {
imports {
mavenBom 'org.springframework.boot:spring-boot-dependencies:2.1.5.RELEASE'
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:7affe20')
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:6aa55fc0')
}
}

dependencies {
if (releaseMode) {
compile 'com.epam.reportportal:commons-model'
} else {
compile 'com.github.reportportal:commons-model:22ccaac'
compile 'com.github.reportportal:commons-model:232e69a5'
}

compile 'org.slf4j:slf4j-api'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ private StatusCodeMapping() {
put(ErrorType.ANALYZER_NOT_FOUND, HttpStatus.NOT_FOUND);
put(ErrorType.ATTACHMENT_NOT_FOUND, HttpStatus.NOT_FOUND);
put(ErrorType.UNABLE_TO_LOAD_BINARY_DATA, HttpStatus.NOT_FOUND);
put(ErrorType.CLUSTER_NOT_FOUND, HttpStatus.NOT_FOUND);

put(ErrorType.RESOURCE_ALREADY_EXISTS, HttpStatus.CONFLICT);
put(ErrorType.PROJECT_ALREADY_EXISTS, HttpStatus.CONFLICT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static List<Object[]> getParameters() {
{ new HttpMessageNotReadableException(EXCEPTION_MESSAGE), ErrorType.INCORRECT_REQUEST, HttpStatus.BAD_REQUEST,
EXCEPTION_MESSAGE },
{ new MissingServletRequestParameterException("test", "test"), ErrorType.INCORRECT_REQUEST, HttpStatus.BAD_REQUEST,
"Required test parameter 'test' is not present" } });
"Incorrect Request. Required request parameter 'test' for method parameter type test is not present" } });
}

@Test
Expand Down

0 comments on commit e3e3716

Please sign in to comment.