diff --git a/src/test/java/nl/knaw/dans/dvcli/command/CollectionCreateDatasetTest.java b/src/test/java/nl/knaw/dans/dvcli/command/CollectionCreateDatasetTest.java index a386736..7fe58e5 100644 --- a/src/test/java/nl/knaw/dans/dvcli/command/CollectionCreateDatasetTest.java +++ b/src/test/java/nl/knaw/dans/dvcli/command/CollectionCreateDatasetTest.java @@ -114,10 +114,10 @@ public void doCall_is_happy() throws Exception { } @Test - public void doCall_with_dir_as_json() throws Exception { + public void doCall_with_dir_as_json_file_fails() throws Exception { var metadataKeys = new HashMap(); - var jsonFile = "src/test/resources/debug-etc"; // invalid json file, don't care + var jsonFile = "src/test/resources/debug-etc"; var client = new DataverseClient(new DataverseClientConfig(new URI("http://localhost:8080"), "apiToken")); // command under test