Skip to content

Commit 732ddd7

Browse files
authored
chore: Bump dependencies (minor version) (#128)
* Upgrade dependencies (minor version): resteasy to 4.7.10.Final, jackson to 2.15.4, okhttp to 4.12.0, wiremock to 2.27.2. * Refactored `AttachmentsApiTest`. Resteasy changed the order in the new version. * Changed build image to amazoncorretto.
1 parent d31102c commit 732ddd7

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
test:
44
docker:
5-
- image: openjdk:11
5+
- image: amazoncorretto:11
66
steps:
77
- checkout
88
- run:
@@ -17,7 +17,7 @@ jobs:
1717
path: test-results
1818
deploy:
1919
docker:
20-
- image: openjdk:11
20+
- image: amazoncorretto:11
2121
steps:
2222
- add_ssh_keys:
2323
fingerprints:

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
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>

smartling-attachments-api/src/test/java/com/smartling/api/attachments/v2/AttachmentsApiTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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());

0 commit comments

Comments
 (0)