Skip to content

Commit

Permalink
Changed commons-io exception due upgrade of dependency (#1424)
Browse files Browse the repository at this point in the history
Co-authored-by: Rishiraj Anand <rishiraj.anand1@gmail.com>
  • Loading branch information
mareknovotny and RishiRajAnand committed Sep 12, 2024
1 parent acbb766 commit fb0c8d9
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 fb0c8d9

Please sign in to comment.