Skip to content

Commit

Permalink
update tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd committed Jul 25, 2024
1 parent b26ebe9 commit 3be977f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/features/app/app_tabs_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void main() async {
Widget appTabsTestWidget() => WidgetHelpers.testableWidget(
child: const AppTabs(),
overrides: [
didProvider.overrideWithValue(did),
didProvider.overrideWith((ref) => did),
tbdexServiceProvider.overrideWith((ref) => mockTbdexService),
pfisProvider.overrideWith((ref) => mockPfisNotifier),
vcsProvider.overrideWith((ref) => mockVcsNotifier),
Expand Down
2 changes: 1 addition & 1 deletion test/features/app/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void main() async {
WidgetHelpers.testableWidget(
child: const AppTabs(),
overrides: [
didProvider.overrideWithValue(did),
didProvider.overrideWith((ref) => did),
tbdexServiceProvider.overrideWith((ref) => mockTbdexService),
pfisProvider.overrideWith((ref) => mockPfisNotifier),
vcsProvider.overrideWith((ref) => mockVcsNotifier),
Expand Down
2 changes: 1 addition & 1 deletion test/features/home/home_page_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void main() async {
Widget homePageTestWidget() => WidgetHelpers.testableWidget(
child: const HomePage(),
overrides: [
didProvider.overrideWithValue(did),
didProvider.overrideWith((ref) => did),
tbdexServiceProvider.overrideWith((ref) => mockTbdexService),
transactionProvider.overrideWith(MockTransactionNotifier.new),
accountBalanceProvider
Expand Down
2 changes: 1 addition & 1 deletion test/features/payment/payment_amount_page_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void main() async {
PaymentState(transactionType: TransactionType.deposit),
),
overrides: [
didProvider.overrideWithValue(did),
didProvider.overrideWith((ref) => did),
tbdexServiceProvider.overrideWith((ref) => mockTbdexService),
pfisProvider.overrideWith((ref) => mockPfisNotifier),
],
Expand Down
2 changes: 1 addition & 1 deletion test/features/payment/payment_details_page_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void main() async {
),
),
overrides: [
didProvider.overrideWithValue(did),
didProvider.overrideWith((ref) => did),
pfisProvider.overrideWith((ref) => mockPfisNotifier),
],
);
Expand Down
2 changes: 1 addition & 1 deletion test/features/payment/payment_review_page_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void main() async {
),
),
overrides: [
didProvider.overrideWithValue(did),
didProvider.overrideWith((ref) => did),
quoteProvider.overrideWith(() => mockTbdexQuoteNotifier),
tbdexServiceProvider.overrideWith((ref) => mockTbdexService),
],
Expand Down
2 changes: 1 addition & 1 deletion test/features/send/send_page_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void main() async {
Widget sendDetailsPageTestWidget() => WidgetHelpers.testableWidget(
child: const SendPage(),
overrides: [
didProvider.overrideWithValue(did),
didProvider.overrideWith((ref) => did),
featureFlagsProvider
.overrideWith((ref) => mockFeatureFlagsNotifier),
],
Expand Down

0 comments on commit 3be977f

Please sign in to comment.