Search in sources :

Example 6 with Disabled

use of org.junit.jupiter.api.Disabled in project nem-library by rosklyar.

the class AccountClientTest method getImportances.

@Test
@Disabled("test can fail with timeout")
void getImportances() {
    ImportanceResponse importanceResponse = accountClient.importances();
    assumeTrue(importanceResponse.data.size() > 0);
    assertTrue(importanceResponse.data.stream().filter(info -> info.importance.isSet).findFirst().get().importance.score > 0);
}
Also used : ImportanceResponse(com.github.rosklyar.client.account.domain.importance.ImportanceResponse) Test(org.junit.jupiter.api.Test) Disabled(org.junit.jupiter.api.Disabled)

Aggregations

Disabled (org.junit.jupiter.api.Disabled)6 Test (org.junit.jupiter.api.Test)6 Transactions (com.github.rosklyar.client.account.domain.transaction.Transactions)3 UnconfirmedTransactions (com.github.rosklyar.client.account.domain.transaction.UnconfirmedTransactions)3 HistoryResponse (com.github.rosklyar.client.account.domain.history.HistoryResponse)1 ImportanceResponse (com.github.rosklyar.client.account.domain.importance.ImportanceResponse)1 Block (com.github.rosklyar.client.blockchain.domain.block.Block)1 BlockHeight (com.github.rosklyar.client.blockchain.domain.block.BlockHeight)1 BlocksAfterResponse (com.github.rosklyar.client.blockchain.domain.block.BlocksAfterResponse)1