Skip to content

Commit

Permalink
add DirtiesContext
Browse files Browse the repository at this point in the history
  • Loading branch information
apriltuesday committed Jun 20, 2024
1 parent 01aec6a commit 4505561
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,15 @@ public void tearDown() {
}

@Test
@DirtiesContext
public void runJobWithNoErrors() throws Exception {
runner.run();

assertEquals(EvaAccessionJobLauncherCommandLineRunner.EXIT_WITHOUT_ERRORS, runner.getExitCode());
}

@Test
@DirtiesContext
public void runJobWithNoName() throws Exception {
runner.setJobNames(null);
runner.run();
Expand Down

0 comments on commit 4505561

Please sign in to comment.