Skip to content

Commit

Permalink
Tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yesamer committed Aug 7, 2024
1 parent a21b5c1 commit fe59f4b
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 fe59f4b

Please sign in to comment.