Skip to content

Commit

Permalink
refactor: Remove Watson translate engine (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreichirila0712 authored Jan 30, 2025
1 parent 5ab9f0c commit 47b3128
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public enum Type implements EnumConverter<Type> {

GOOGLE, GOOGLE_AUTOML, MICROSOFT, DEEPL, AMAZON, WATSON, MODERNMT, CROWDIN;
GOOGLE, GOOGLE_AUTOML, MICROSOFT, DEEPL, AMAZON, MODERNMT, CROWDIN;

public static Type from(String value) {
return Type.valueOf(value.toUpperCase());
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void addMtTest() {
}

@Test
public void geMtTest() {
public void getMtTest() {
ResponseObject<MachineTranslation> machineTranslationResponseObject = this.getMachineTranslationEnginesApi().getMt(mtId);
assertEquals(machineTranslationResponseObject.getData().getId(), mtId);
assertEquals(machineTranslationResponseObject.getData().getName(), name);
Expand Down

0 comments on commit 47b3128

Please sign in to comment.