Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
bischoffz committed Apr 11, 2024
1 parent 944fee9 commit f5728ce
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,6 @@ public void testWriteOutput_Base() {

assertEquals(CoreTranslationError.NULL_PATH, contractException.getErrorType());

// if the path is invalid
contractException = assertThrows(ContractException.class, () -> {
translationController.writeOutput(expectedAppObject, Optional.empty(),
filePath.resolve("badPath").resolve(fileName),
TranslationEngineType.CUSTOM);
});

assertEquals(CoreTranslationError.INVALID_OUTPUT_PATH, contractException.getErrorType());

// if the translation engine is null
contractException = assertThrows(ContractException.class, () -> {
translationController.writeOutput(expectedAppObject, Optional.empty(),
Expand Down

0 comments on commit f5728ce

Please sign in to comment.