Skip to content

Commit 80d1c78

Browse files
author
Gary Guo
committed
Fix broken tests
1 parent d086649 commit 80d1c78

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/test/java/com/dropbox/core/v2/DbxClientV2Test.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ public void testRetrySuccess() throws DbxException, IOException {
7979
new Date(1456169040985L),
8080
new Date(1456169040985L),
8181
"2e0c38735597",
82-
2091603
82+
2091603,
83+
"20MB",
84+
"text.png",
85+
"text/plain"
8386
);
8487

8588
// 503 twice, then return result
@@ -169,7 +172,10 @@ public void testRetryDownload() throws DbxException, IOException {
169172
new Date(1456169692501L),
170173
new Date(1456169692501L),
171174
"341438735597",
172-
2626
175+
2626,
176+
"20MB",
177+
"text.png",
178+
"text/plain"
173179
);
174180
byte [] expectedBytes = new byte [] { 1, 2, 3, 4 };
175181

@@ -209,7 +215,10 @@ public void testRetrySuccessWithBackoff() throws DbxException, IOException {
209215
new Date(1456173312172L),
210216
new Date(1456173312172L),
211217
"89df885732c38",
212-
12345L
218+
12345L,
219+
"20MB",
220+
"text.png",
221+
"text/plain"
213222
);
214223

215224
// 503 twice, then return result

0 commit comments

Comments
 (0)