Skip to content

Commit

Permalink
Changed commons-io exception due upgrade of dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
RishiRajAnand authored and mareknovotny committed Sep 3, 2024
1 parent acbb766 commit fdd9fc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void createDirectoryFileAlreadyExistsException() {
ioService().createDirectory(path);
}

@Test(expected = FileAlreadyExistsException.class)
@Test(expected = org.uberfire.java.nio.IOException.class)
public void createDirectoriesFileAlreadyExistsException() {
final Path path = getDirectoryPath().resolveSibling("otherDir").resolve("innerDir");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ public void checkDeleteIfExists() throws IOException {
assertThat(path.toFile()).doesNotExist();
}

@Test
@Test(expected = org.uberfire.java.nio.IOException.class)
public void checkDeleteIfExistsNonExistent() {
final SimpleFileSystemProvider fsProvider = new SimpleFileSystemProvider();

Expand Down

0 comments on commit fdd9fc3

Please sign in to comment.