Fix failing tests

This commit is contained in:
likho 2023-05-29 20:19:14 +02:00
parent 436b11a102
commit c94cbf6cd9
4 changed files with 7 additions and 1 deletions

View file

@ -143,7 +143,7 @@ void main() {
]
});
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]");
});
});

View file

@ -105,6 +105,7 @@ void main() {
nonce: null,
inputs: [],
outputs: [],
numberOfMessages: null,
),
)
.toList();

View file

@ -126,6 +126,7 @@ void main() {
nonce: null,
inputs: [],
outputs: [],
numberOfMessages: null,
);
when(wallet.transactions).thenAnswer((_) async => [
tx,

View file

@ -71,6 +71,7 @@ void main() {
nonce: null,
inputs: [],
outputs: [],
numberOfMessages: null,
)..address.value = Address(
walletId: "walletId",
value: "",
@ -188,6 +189,7 @@ void main() {
nonce: null,
inputs: [],
outputs: [],
numberOfMessages: null,
)..address.value = Address(
walletId: "walletId",
value: "",
@ -302,6 +304,7 @@ void main() {
nonce: null,
inputs: [],
outputs: [],
numberOfMessages: null,
)..address.value = Address(
walletId: "walletId",
value: "",
@ -410,6 +413,7 @@ void main() {
nonce: null,
inputs: [],
outputs: [],
numberOfMessages: null,
)..address.value = Address(
walletId: "walletId",
value: "",