Skip to content

Commit

Permalink
Using the expected matching rules on the request and response comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcampbell committed Jun 25, 2015
1 parent 3dbfc6f commit a604889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ComparisonResult Compare(ProviderServiceRequest expected, ProviderService

if (expected.Body != null)
{
var bodyResult = _httpBodyComparer.Compare(expected.Body, actual.Body, actual.MatchingRules);
var bodyResult = _httpBodyComparer.Compare(expected.Body, actual.Body, expected.MatchingRules);
result.AddChildResult(bodyResult);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ComparisonResult Compare(ProviderServiceResponse expected, ProviderServic

if (expected.Body != null)
{
var bodyResult = _httpBodyComparer.Compare(expected.Body, actual.Body, actual.MatchingRules);
var bodyResult = _httpBodyComparer.Compare(expected.Body, actual.Body, expected.MatchingRules);
result.AddChildResult(bodyResult);
}

Expand Down

0 comments on commit a604889

Please sign in to comment.