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(), 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, nonce: null,
inputs: [], inputs: [],
outputs: [], outputs: [],
numberOfMessages: null,
), ),
) )
.toList(); .toList();

View file

@ -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,

View file

@ -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: "",