Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
malvarezphrase committed Sep 25, 2024
1 parent 8a6463a commit f60d0a6
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,14 @@ public void localeDownloadTest() throws ApiException, IOException, InterruptedEx
String fallbackLocaleId = null;
String sourceLocaleId = null;
Object customMetadataFilters = null;
File response = api.localeDownload(projectId, id, xPhraseAppOTP, ifModifiedSince, ifNoneMatch, branch, fileFormat, tags, tag, includeEmptyTranslations, excludeEmptyZeroForms, includeTranslatedKeys, keepNotranslateTags, convertEmoji, formatOptions, encoding, skipUnverifiedTranslations, includeUnverifiedTranslations, useLastReviewedVersion, fallbackLocaleId, sourceLocaleId, customMetadataFilters);
String translationKeyPrefix = null;
Boolean useTranslationKeyPrefixAsFilter = null;
File response = api.localeDownload(projectId, id, xPhraseAppOTP, ifModifiedSince, ifNoneMatch,
branch, fileFormat, tags, tag, includeEmptyTranslations, excludeEmptyZeroForms,
includeTranslatedKeys, keepNotranslateTags, convertEmoji, formatOptions, encoding,
skipUnverifiedTranslations, includeUnverifiedTranslations, useLastReviewedVersion,
fallbackLocaleId, sourceLocaleId, customMetadataFilters, translationKeyPrefix,
useTranslationKeyPrefixAsFilter);

String fileContents = new String(java.nio.file.Files.readAllBytes(response.toPath()));
Assert.assertEquals("Correct file contents", fileContents, body);
Expand Down

0 comments on commit f60d0a6

Please sign in to comment.