File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed
smartling-attachments-api/src/test/java/com/smartling/api/attachments/v2 Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: 2
22jobs :
33 test :
44 docker :
5- - image : openjdk :11
5+ - image : amazoncorretto :11
66 steps :
77 - checkout
88 - run :
1717 path : test-results
1818 deploy :
1919 docker :
20- - image : openjdk :11
20+ - image : amazoncorretto :11
2121 steps :
2222 - add_ssh_keys :
2323 fingerprints :
Original file line number Diff line number Diff line change 2727 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2828 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
2929 <org .powermock.version>2.0.4</org .powermock.version>
30- <org .jboss.resteasy.version>4.6.1 .Final</org .jboss.resteasy.version>
30+ <org .jboss.resteasy.version>4.7.10 .Final</org .jboss.resteasy.version>
3131 <apache .httpclient.version>4.5.14</apache .httpclient.version>
32- <jackson .version>2.12.3 </jackson .version>
33- <okhttp .version>4.9.3 </okhttp .version>
34- <wiremock .version>2.26.0 </wiremock .version>
32+ <jackson .version>2.15.4 </jackson .version>
33+ <okhttp .version>4.12.0 </okhttp .version>
34+ <wiremock .version>2.27.2 </wiremock .version>
3535 </properties >
3636
3737 <dependencyManagement >
Original file line number Diff line number Diff line change @@ -183,25 +183,25 @@ public void testUploadAttachment() throws Exception
183183 "\r \n " +
184184 "content\r \n " +
185185 partSeparator + "\r \n " +
186- "Content-Disposition: form-data; name=\" name \" \r \n " +
186+ "Content-Disposition: form-data; name=\" entityUids \" \r \n " +
187187 "Content-Type: text/plain\r \n " +
188188 "\r \n " +
189- "test.txt \r \n " +
189+ "jobUuid1 \r \n " +
190190 partSeparator + "\r \n " +
191- "Content-Disposition: form-data; name=\" description \" \r \n " +
191+ "Content-Disposition: form-data; name=\" entityUids \" \r \n " +
192192 "Content-Type: text/plain\r \n " +
193193 "\r \n " +
194- "description \r \n " +
194+ "jobUuid2 \r \n " +
195195 partSeparator + "\r \n " +
196- "Content-Disposition: form-data; name=\" entityUids \" \r \n " +
196+ "Content-Disposition: form-data; name=\" name \" \r \n " +
197197 "Content-Type: text/plain\r \n " +
198198 "\r \n " +
199- "jobUuid1 \r \n " +
199+ "test.txt \r \n " +
200200 partSeparator + "\r \n " +
201- "Content-Disposition: form-data; name=\" entityUids \" \r \n " +
201+ "Content-Disposition: form-data; name=\" description \" \r \n " +
202202 "Content-Type: text/plain\r \n " +
203203 "\r \n " +
204- "jobUuid2 \r \n " +
204+ "description \r \n " +
205205 partSeparator + "--" );
206206
207207 assertEquals (expectedPTO .getAttachmentUid (), response .getAttachmentUid ());
You can’t perform that action at this time.
0 commit comments