PR #3390 #1450
488 passed, 4 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test-report-default.json | 488✅ | 4❌ | 116s |
Annotations
github-actions / Flutter Tests - default
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as read
Failed test found in:
test-report-default.json
Error:
FakeUsedError: 'dashboardRoute'
No stub was found which matches the argument of this method call:
dashboardRoute
A fake object was created for this call, in the hope that it won't be ever accessed.
Here is the stack trace where 'dashboardRoute' was called:
#0 new SmartFake (package:mockito/src/mock.dart:245:41)
#1 new _FakeRx_7 (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:187:7)
#2 MockMailboxDashBoardController.dashboardRoute (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:547:36)
#3 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds (package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart:17:27)
#4 main.<anonymous closure>.<anonymous closure> (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart:49:34)
#5 Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:215:19)
<asynchronous suspension>
#6 Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:213:7)
<asynchronous suspension>
#7 Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:258:9)
<asynchronous suspension>
However, member 'value' of the created fake object was accessed.
Add a stub for MockMailboxDashBoardController.dashboardRoute using Mockito's 'when' API.
Raw output
package:mockito/src/mock.dart 242:50 SmartFake.noSuchMethod
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart 183:7 _FakeRx_7.value
package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart 17:42 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart 49:34 main.<fn>.<fn>
github-actions / Flutter Tests - default
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as unread
Failed test found in:
test-report-default.json
Error:
FakeUsedError: 'dashboardRoute'
No stub was found which matches the argument of this method call:
dashboardRoute
A fake object was created for this call, in the hope that it won't be ever accessed.
Here is the stack trace where 'dashboardRoute' was called:
#0 new SmartFake (package:mockito/src/mock.dart:245:41)
#1 new _FakeRx_7 (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:187:7)
#2 MockMailboxDashBoardController.dashboardRoute (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:547:36)
#3 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds (package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart:17:27)
#4 main.<anonymous closure>.<anonymous closure> (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart:79:34)
#5 Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:215:19)
<asynchronous suspension>
#6 Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:213:7)
<asynchronous suspension>
#7 Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:258:9)
<asynchronous suspension>
However, member 'value' of the created fake object was accessed.
Add a stub for MockMailboxDashBoardController.dashboardRoute using Mockito's 'when' API.
Raw output
package:mockito/src/mock.dart 242:50 SmartFake.noSuchMethod
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart 183:7 _FakeRx_7.value
package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart 17:42 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart 79:34 main.<fn>.<fn>
github-actions / Flutter Tests - default
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as starred
Failed test found in:
test-report-default.json
Error:
FakeUsedError: 'dashboardRoute'
No stub was found which matches the argument of this method call:
dashboardRoute
A fake object was created for this call, in the hope that it won't be ever accessed.
Here is the stack trace where 'dashboardRoute' was called:
#0 new SmartFake (package:mockito/src/mock.dart:245:41)
#1 new _FakeRx_7 (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:187:7)
#2 MockMailboxDashBoardController.dashboardRoute (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:547:36)
#3 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds (package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart:17:27)
#4 main.<anonymous closure>.<anonymous closure> (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart:109:34)
#5 Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:215:19)
<asynchronous suspension>
#6 Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:213:7)
<asynchronous suspension>
#7 Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:258:9)
<asynchronous suspension>
However, member 'value' of the created fake object was accessed.
Add a stub for MockMailboxDashBoardController.dashboardRoute using Mockito's 'when' API.
Raw output
package:mockito/src/mock.dart 242:50 SmartFake.noSuchMethod
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart 183:7 _FakeRx_7.value
package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart 17:42 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart 109:34 main.<fn>.<fn>
github-actions / Flutter Tests - default
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as unstarred
Failed test found in:
test-report-default.json
Error:
FakeUsedError: 'dashboardRoute'
No stub was found which matches the argument of this method call:
dashboardRoute
A fake object was created for this call, in the hope that it won't be ever accessed.
Here is the stack trace where 'dashboardRoute' was called:
#0 new SmartFake (package:mockito/src/mock.dart:245:41)
#1 new _FakeRx_7 (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:187:7)
#2 MockMailboxDashBoardController.dashboardRoute (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart:547:36)
#3 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds (package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart:17:27)
#4 main.<anonymous closure>.<anonymous closure> (file:///home/runner/work/tmail-flutter/tmail-flutter/test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart:139:34)
#5 Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:215:19)
<asynchronous suspension>
#6 Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:213:7)
<asynchronous suspension>
#7 Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:258:9)
<asynchronous suspension>
However, member 'value' of the created fake object was accessed.
Add a stub for MockMailboxDashBoardController.dashboardRoute using Mockito's 'when' API.
Raw output
package:mockito/src/mock.dart 242:50 SmartFake.noSuchMethod
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.mocks.dart 183:7 _FakeRx_7.value
package:tmail_ui_user/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension.dart 17:42 UpdateCurrentEmailsFlagsExtension.updateEmailFlagByEmailIds
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart 139:34 main.<fn>.<fn>