Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit cfb99c3

Browse files
authored
Merge pull request #25 from iterate-ch/master
Fix test.
2 parents 85cd196 + 136e976 commit cfb99c3

2 files changed

Lines changed: 12 additions & 15 deletions

File tree

src/main/java/synapticloop/b2/response/BaseB2Response.java

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
package synapticloop.b2.response;
22

3-
import java.io.IOException;
4-
import java.util.Iterator;
5-
63
/*
74
* Copyright (c) 2016 Synapticloop.
8-
*
5+
*
96
* All rights reserved.
10-
*
11-
* This code may contain contributions from other parties which, where
12-
* applicable, will be listed in the default build file for the project
7+
*
8+
* This code may contain contributions from other parties which, where
9+
* applicable, will be listed in the default build file for the project
1310
* ~and/or~ in a file named CONTRIBUTORS.txt in the root of the project.
14-
*
15-
* This source code and any derived binaries are covered by the terms and
16-
* conditions of the Licence agreement ("the Licence"). You may not use this
17-
* source code or any derived binaries except in compliance with the Licence.
18-
* A copy of the Licence is available in the file named LICENSE.txt shipped with
11+
*
12+
* This source code and any derived binaries are covered by the terms and
13+
* conditions of the Licence agreement ("the Licence"). You may not use this
14+
* source code or any derived binaries except in compliance with the Licence.
15+
* A copy of the Licence is available in the file named LICENSE.txt shipped with
1916
* this source code or binaries.
2017
*/
2118

2219
import org.json.JSONArray;
2320
import org.json.JSONException;
2421
import org.json.JSONObject;
2522
import org.slf4j.Logger;
26-
2723
import synapticloop.b2.exception.B2ApiException;
2824

25+
import java.util.Iterator;
26+
2927
public abstract class BaseB2Response {
3028
private final JSONObject response;
3129

src/test/java/synapticloop/b2/request/B2StartLargeFileRequestTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121

2222
public class B2StartLargeFileRequestTest {
2323

24-
// this is expected until the large file support goes live
25-
@Test(expected=B2ApiException.class)
24+
@Test
2625
public void getResponse() throws Exception {
2726
B2AuthorizeAccountResponse b2AuthorizeAccountResponse = B2TestHelper.getB2AuthorizeAccountResponse();
2827

0 commit comments

Comments
 (0)