Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit 5cefaeb

Browse files
author
Denis Kurochkin
committed
Avoid namespace conflicts on file rename
1 parent b6531e9 commit 5cefaeb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api-sdk/src/test/java/com/smartling/api/sdk/FileApiClientIntegrationTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ private void uploadFile() throws SmartlingApiException
132132
{
133133
FileUploadParameterBuilder parameterBuilder = new FileUploadParameterBuilder(JAVA_PROPERTIES, FILE_URI)
134134
.charset(CHARSET)
135+
.directives(Collections.singletonMap("smartling.namespace", "test-namespace"))
135136
.localeIdsToAuthorize(Collections.singletonList("es"))
136137
.overwriteAuthorizedLocales(true);
137138
fileApiClient.uploadFile(fileToUpload, parameterBuilder);

0 commit comments

Comments
 (0)