fluentassertions / fluentassertions/fluentassertions.mvc

Upgrade to FluentAssertions v6

Open
#42 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
36
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Updating my project to the latest FluentAssertions library causes runtime errors:
System.MissingMethodException: Method not found: 'Void FluentAssertions.Primitives.ReferenceTypeAssertions`2.set_Subject(!0)'.
at FluentAssertions.Mvc.ActionResultAssertions..ctor(ActionResult subject)
at FluentAssertions.Mvc.AssertionsExtensions.Should(ActionResult actual)

This is due to v6 having some breaking changes, specifically around how the Assertions base classes are constructed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.