PR #3390 #1451
codeql
on: dynamic
Matrix: analyze
Annotations
4 errors and 2 warnings
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as read:
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart#L30
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.
|
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as unread:
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart#L60
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.
|
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as starred:
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart#L90
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.
|
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart ► updateEmailFlagByEmailIds test: ► should mark emails as unstarred:
test/features/mailbox_dashboard/presentation/extensions/update_current_emails_flags_extension_test.dart#L120
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.
|
Analyze (ruby)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Analyze (javascript-typescript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|