Skip to content

Upgrade to FluentAssertions 5.5.0 yields: System.MissingMethodException #27

@dstj

Description

@dstj

After upgrading FluentAssertions from 5.4.2 to 5.5.0, the following code:

var actualString = @"<JSON HERE>";
var expectedString = @"<JSON HERE>";
var actual = JsonParsingHelper.Parse(actualString);
var expected = JsonParsingHelper.Parse(expectedString);
actual.Should().BeEquivalentTo(expected);

produces the following error:

System.MissingMethodException : Method not found: 'FluentAssertions.Execution.AssertionScope FluentAssertions.Execution.AssertionScope.ForCondition(Boolean)'.
   at FluentAssertions.Json.JTokenAssertions.HaveElement(String expected, String because, Object[] becauseArgs)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions