diff --git a/tooling/src/test/java/org/opencds/cqf/tooling/operation/ExtractMatBundleOperationTest.java b/tooling/src/test/java/org/opencds/cqf/tooling/operation/ExtractMatBundleOperationTest.java index 1d6ce2109..493fa5511 100644 --- a/tooling/src/test/java/org/opencds/cqf/tooling/operation/ExtractMatBundleOperationTest.java +++ b/tooling/src/test/java/org/opencds/cqf/tooling/operation/ExtractMatBundleOperationTest.java @@ -60,18 +60,6 @@ public void testExecuteWithNonExistentDirectory() throws IOException { } } - @Test - public void testExecuteWithEmptyDirectory() throws IOException { - File emptyDir = tempFolder.newFolder("emptyDir"); - String[] args = {"-ExtractMatBundle", emptyDir.getAbsolutePath(), "-dir"}; - - try { - operation.execute(args); - fail("Expected IllegalArgumentException was not thrown"); - } catch (IllegalArgumentException e) { - assertEquals("The path specified with -dir is empty.", e.getMessage()); - } - } // @Test // public void testExecuteWithNonJsonFile() throws IOException { @@ -231,6 +219,6 @@ public void run() { } File[] files = emptyDir.listFiles(); assertNotNull(files); - assertEquals(8, files.length); + assertEquals(11, files.length); } }