Skip to content

Upgrade to mockito v5#789

Closed
evanweible-wf wants to merge 1 commit intomasterfrom
mockito5
Closed

Upgrade to mockito v5#789
evanweible-wf wants to merge 1 commit intomasterfrom
mockito5

Conversation

@evanweible-wf
Copy link
Contributor

Motivation

There's a new major of mockito available and we'll need to upgrade to it in order to be able to upgrade to newer analyzer versions in the future.

Changes

  • Upgrade mockito to ^5.0.0
  • Enable the mockito builder, which is the easiest option for generating null-safe-compatible mocks
    • Note that mocks were moved to a centralized test/mockito.dart file so that this builder could be narrowly scoped to minimize its impact on build time
  • Remove unused mocks

@aviary-wf
Copy link

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

@evanweible-wf
Copy link
Contributor Author

Going to wait on this until we can safely raise the analyzer lower bound to 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants