test fixes

This commit is contained in:
julian 2023-03-30 11:05:43 -06:00
parent 199716329c
commit 31cc4beb43
2 changed files with 3 additions and 3 deletions

View file

@ -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);
});
}

View file

@ -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);
});
}