Update tests
This commit is contained in:
parent
a0ab8ad611
commit
0b156110f0
@ -103,8 +103,7 @@ class AccountingChainClientTests {
|
||||
|
||||
@BeforeAll
|
||||
static void initAll() {
|
||||
acClient = new AccountingChainClient("47.92.69.234", 18080);
|
||||
// acClient = new AccountingChainClient("localhost", 10001);
|
||||
acClient = new AccountingChainClient("localhost", 10001);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -73,7 +73,7 @@ class TransactionLedgerClientTests {
|
||||
.get()
|
||||
.getHash()
|
||||
.toByteArray());
|
||||
assertEquals("d15ea5edd15ea5edd15ea5edd15ea5edd15ea5edd15ea5edd15ea5edd15ea5ed", hash);
|
||||
assertEquals("d15ea5edd15ea5edd15ea5edd15ea5edd15ea5ed", hash);
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -84,7 +84,7 @@ class TransactionLedgerClientTests {
|
||||
Exception.class,
|
||||
() ->
|
||||
tlClient
|
||||
.sendTransaction(ledger, TransactionType.MESSAGE, null, "50bada55", null)
|
||||
.sendTransaction(ledger, TransactionType.MESSAGE, null, "50bada5550bada5550bada5550bada5550bada55", null)
|
||||
.get());
|
||||
Status s = Status.fromThrowable(e);
|
||||
assertEquals(Status.Code.INVALID_ARGUMENT, s.getCode());
|
||||
|
Loading…
x
Reference in New Issue
Block a user