mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
test fixes
This commit is contained in:
parent
199716329c
commit
31cc4beb43
2 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ void main() {
|
|||
(realInvocation) => ChangeNotifierProvider((ref) => manager));
|
||||
|
||||
const walletInfoRowBalance =
|
||||
WalletInfoRowBalanceFuture(walletId: "some-wallet-id");
|
||||
WalletInfoRowBalance(walletId: "some-wallet-id");
|
||||
await widgetTester.pumpWidget(
|
||||
ProviderScope(
|
||||
overrides: [
|
||||
|
@ -76,6 +76,6 @@ void main() {
|
|||
|
||||
await widgetTester.pumpAndSettle();
|
||||
|
||||
expect(find.byType(WalletInfoRowBalanceFuture), findsOneWidget);
|
||||
expect(find.byType(WalletInfoRowBalance), findsOneWidget);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -74,6 +74,6 @@ void main() {
|
|||
await widgetTester.pumpAndSettle();
|
||||
|
||||
expect(find.text("some wallet"), findsOneWidget);
|
||||
expect(find.byType(WalletInfoRowBalanceFuture), findsOneWidget);
|
||||
expect(find.byType(WalletInfoRowBalance), findsOneWidget);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue