Skip to content

Commit

Permalink
add changes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
malvarezphrase committed Sep 25, 2024
1 parent ee7a86b commit 3a6c754
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void uploadCreateTest() throws ApiException, IOException, InterruptedExce
Boolean autotranslate = null;
Boolean markReviewed = null;
Boolean tagOnlyAffectedKeys = null;
String translationKeyPrefix = null;

Map<String, String> nestedFormatOptionsMap = new HashMap<>();
nestedFormatOptionsMap.put("nested_option", "sub_option");
Expand All @@ -118,7 +119,11 @@ public void uploadCreateTest() throws ApiException, IOException, InterruptedExce
formatOptionsMap.put("fallback_language", "en");
formatOptionsMap.put("more_options", nestedFormatOptionsMap);

Upload response = api.uploadCreate(projectId, file, fileFormat, localeId, xPhraseAppOTP, branch, tags, updateTranslations, updateTranslationKeys, updateTranslationsOnSourceMatch, updateDescriptions, convertEmoji, skipUploadTags, skipUnverification, fileEncoding, localeMapping, formatOptionsMap, autotranslate, markReviewed, tagOnlyAffectedKeys);
Upload response = api.uploadCreate(projectId, file, fileFormat, localeId, xPhraseAppOTP, branch,
tags, updateTranslations, updateTranslationKeys, updateTranslationsOnSourceMatch,
updateDescriptions, convertEmoji, skipUploadTags, skipUnverification, fileEncoding,
localeMapping, formatOptionsMap, autotranslate, markReviewed, tagOnlyAffectedKeys,
translationKeyPrefix);

Assert.assertEquals("valid id returned", "id_example", response.getId());
Assert.assertEquals("valid creation date returned", OffsetDateTime.parse("2015-01-28T09:52:53Z"), response.getCreatedAt());
Expand Down

0 comments on commit 3a6c754

Please sign in to comment.