Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
baubakg committed Mar 17, 2024
1 parent 953c784 commit 52a7ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public ErrorObject(Exception in_exception, String in_title, int in_errorCode) {
this.setDetail(in_exception.getMessage());
this.setBridgeServiceException(in_exception.getClass().getTypeName());
Throwable originalExceptionClass = extractOriginalException(in_exception);
this.failureAtStep = LogManagement.fetchCurrentStep();
this.setFailureAtStep(LogManagement.fetchCurrentStep());

this.setStackTrace(new ArrayList<>());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@

public class LogManagementTest {

@Test
public void testLogManagement() {
assert LogManagement.STD_CURRENT_STEP.equals("currentStep");
}

}

0 comments on commit 52a7ff5

Please sign in to comment.