mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 09:19:22 +00:00
Fix failing tests
This commit is contained in:
parent
436b11a102
commit
c94cbf6cd9
4 changed files with 7 additions and 1 deletions
|
@ -143,7 +143,7 @@ void main() {
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
expect(txChunk.toString(),
|
expect(txChunk.toString(),
|
||||||
"timestamp: 993260735 transactions: [\n {txid: txid, type: txType, subType: mint, value: 10, fee: 1, height: 1, confirm: true, confirmations: 1, address: address, timestamp: 1876352482, worthNow: 1, inputs: [], slateid: slateId } \n]");
|
"timestamp: 993260735 transactions: [\n {txid: txid, type: txType, subType: mint, value: 10, fee: 1, height: 1, confirm: true, confirmations: 1, address: address, timestamp: 1876352482, worthNow: 1, inputs: [], slateid: slateId, numberOfMessages: null } \n]");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -105,6 +105,7 @@ void main() {
|
||||||
nonce: null,
|
nonce: null,
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: [],
|
outputs: [],
|
||||||
|
numberOfMessages: null,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.toList();
|
.toList();
|
||||||
|
|
|
@ -126,6 +126,7 @@ void main() {
|
||||||
nonce: null,
|
nonce: null,
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: [],
|
outputs: [],
|
||||||
|
numberOfMessages: null,
|
||||||
);
|
);
|
||||||
when(wallet.transactions).thenAnswer((_) async => [
|
when(wallet.transactions).thenAnswer((_) async => [
|
||||||
tx,
|
tx,
|
||||||
|
|
|
@ -71,6 +71,7 @@ void main() {
|
||||||
nonce: null,
|
nonce: null,
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: [],
|
outputs: [],
|
||||||
|
numberOfMessages: null,
|
||||||
)..address.value = Address(
|
)..address.value = Address(
|
||||||
walletId: "walletId",
|
walletId: "walletId",
|
||||||
value: "",
|
value: "",
|
||||||
|
@ -188,6 +189,7 @@ void main() {
|
||||||
nonce: null,
|
nonce: null,
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: [],
|
outputs: [],
|
||||||
|
numberOfMessages: null,
|
||||||
)..address.value = Address(
|
)..address.value = Address(
|
||||||
walletId: "walletId",
|
walletId: "walletId",
|
||||||
value: "",
|
value: "",
|
||||||
|
@ -302,6 +304,7 @@ void main() {
|
||||||
nonce: null,
|
nonce: null,
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: [],
|
outputs: [],
|
||||||
|
numberOfMessages: null,
|
||||||
)..address.value = Address(
|
)..address.value = Address(
|
||||||
walletId: "walletId",
|
walletId: "walletId",
|
||||||
value: "",
|
value: "",
|
||||||
|
@ -410,6 +413,7 @@ void main() {
|
||||||
nonce: null,
|
nonce: null,
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: [],
|
outputs: [],
|
||||||
|
numberOfMessages: null,
|
||||||
)..address.value = Address(
|
)..address.value = Address(
|
||||||
walletId: "walletId",
|
walletId: "walletId",
|
||||||
value: "",
|
value: "",
|
||||||
|
|
Loading…
Reference in a new issue