Skip to content

Upgrade MockQueryable.Moq from 7.0.3 to 10.0.5 #319

Description

@daveharmswebdev

Summary

Dependabot PR #309 attempted to bump MockQueryable.Moq from 7.0.3 to 10.0.5 but the major version jump introduces breaking API changes. The BuildMockDbSet<TEntity> extension method signature changed, causing CS0411 type inference errors across the test suite.

Scope

  • 67 test files use BuildMockDbSet and will need updating
  • All files are in backend/tests/PropertyManager.Application.Tests/

Steps

  1. Review MockQueryable.Moq v10 changelog/migration guide for API changes
  2. Update all BuildMockDbSet usages to match the new API
  3. Verify all tests pass locally (dotnet test)

References

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions