mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
refresh wallet normally
This commit is contained in:
parent
363e0da8ff
commit
8a5dd7ccc2
1 changed files with 4 additions and 4 deletions
|
@ -1744,7 +1744,7 @@ void main() {
|
|||
await part?.refresh();
|
||||
|
||||
verify(client?.getServerFeatures()).called(1);
|
||||
verify(client?.getHistory(scripthash: anyNamed("scripthash"))).called(4);
|
||||
verify(client?.getHistory(scripthash: anyNamed("scripthash"))).called(3);
|
||||
verify(client?.estimateFee(blocks: anyNamed("blocks"))).called(3);
|
||||
verify(client?.getBlockHeadTip()).called(1);
|
||||
verify(priceAPI?.getPricesAnd24hChange(baseCurrency: "USD")).called(2);
|
||||
|
@ -1755,9 +1755,9 @@ void main() {
|
|||
verify(client?.getBatchHistory(args: map)).called(1);
|
||||
}
|
||||
|
||||
expect(secureStore.interactions, 14);
|
||||
expect(secureStore.writes, 7);
|
||||
expect(secureStore.reads, 7);
|
||||
expect(secureStore.interactions, 10);
|
||||
expect(secureStore.writes, 5);
|
||||
expect(secureStore.reads, 5);
|
||||
expect(secureStore.deletes, 0);
|
||||
|
||||
verifyNoMoreInteractions(cachedClient);
|
||||
|
|
Loading…
Reference in a new issue