Skip to content

Commit

Permalink
IKASAN-2009 Fix test to throw runtime exception rather than checked.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitcje committed Nov 14, 2021
1 parent cd7f3bd commit cfa9ee0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void successful_start_with_failed_persistence() throws IOException
will(returnValue(null));

exactly(1).of(persistenceService).persist(with(any(String.class)), with(any(String.class)), with(any(Process.class)));
will(throwException(new Exception("failed to persist")));
will(throwException(new RuntimeException("failed to persist")));
}
});

Expand Down

0 comments on commit cfa9ee0

Please sign in to comment.