Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 8ba053c

Browse files
committed
upgrade version 'cause of new API methods
1 parent 411f210 commit 8ba053c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

bitgo-java-api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin:'java'
22
apply plugin:'idea'
3-
version='0.0.1'
3+
version='0.0.2'
44

55
repositories {
66
mavenCentral()

bitgo-java-api/src/test/java/com/bitso/bitgo/impl/TestClient.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.bitso.bitgo.BitGoClient;
44
import com.bitso.bitgo.SendCoinsResponse;
5+
import com.bitso.bitgo.Wallet;
56
import org.junit.Assert;
67
import org.junit.Before;
78
import org.junit.Ignore;
@@ -10,6 +11,7 @@
1011
import java.io.IOException;
1112
import java.math.BigDecimal;
1213
import java.util.HashMap;
14+
import java.util.List;
1315
import java.util.Map;
1416
import java.util.Optional;
1517

@@ -29,6 +31,13 @@ public void setup() {
2931
client.setBaseUrl("https://test.bitgo.com/api/v1");
3032
}
3133

34+
@Test
35+
public void testGetWallets() throws IOException {
36+
List<Wallet> wallets = client.getWallets();
37+
Assert.assertNotNull(wallets);
38+
Assert.assertFalse(wallets.isEmpty());
39+
}
40+
3241
@Test
3342
public void testSendMany() throws IOException {
3443
Map<String,BigDecimal> targets = new HashMap<>();

0 commit comments

Comments
 (0)