Skip to content

Commit

Permalink
adapt test to include new param
Browse files Browse the repository at this point in the history
  • Loading branch information
malvarezphrase committed Sep 25, 2024
1 parent d8761f2 commit 2dacc6a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,12 @@ public void uploadCreateTest() throws ApiException, IOException, InterruptedExce
Boolean autotranslate = null;
Boolean markReviewed = null;
Boolean tagOnlyAffectedKeys = null;
Upload response = api.uploadCreate(projectId, file, fileFormat, localeId, xPhraseAppOTP, branch, tags, updateTranslations, updateTranslationKeys, updateTranslationsOnSourceMatch, updateDescriptions, convertEmoji, skipUploadTags, skipUnverification, fileEncoding, localeMapping, formatOptions, autotranslate, markReviewed, tagOnlyAffectedKeys);
String translationKeyPrefix = null;
Upload response = api.uploadCreate(projectId, file, fileFormat, localeId, xPhraseAppOTP,
branch, tags, updateTranslations, updateTranslationKeys, updateTranslationsOnSourceMatch,
updateDescriptions, convertEmoji, skipUploadTags, skipUnverification, fileEncoding,
localeMapping, formatOptions, 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 2dacc6a

Please sign in to comment.