Skip to content

Commit

Permalink
Review changes from PR #2597
Browse files Browse the repository at this point in the history
  • Loading branch information
de-jcup committed Oct 23, 2023
1 parent 4b5fc92 commit bea507f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ private void prepareProject(PreparationTestData data, RunSecHubJobDefinition sec

private void assertProjectName(RunSecHubJobDefinition job, String expectedProjectName) {
assertEquals(expectedProjectName, job.getProject());

if (context.isLocalRun()) {

}
}

private void assertUploadRefUsesReferenceId(RunSecHubJobDefinition job, String expectedReferenceId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void sechub_job_creation_fails() throws Exception {
engineToTest.runTest(test, runtimeContext);

/* test */
assertEquals("Was not able to launch SecHub job. Reason: no job createable", currentTestResult.getFailure().getMessage());
assertEquals("Was not able to launch SecHub job. Reason: unable to create job", currentTestResult.getFailure().getMessage());
assertTrue(currentTestResult.getFailure().getDetails().contains("no job createable"));
assertTrue(currentTestResult.hasFailed());
verifyNoInteractions(assertDefinition);
Expand Down

0 comments on commit bea507f

Please sign in to comment.