diff --git a/util.cs b/util.cs index a9de86c..4c191bb 100644 --- a/util.cs +++ b/util.cs @@ -440,13 +440,13 @@ namespace raven_integration if (shouldContainInMessage != null) { a.ObjectResponse["error"]["details"].Should().Contain( - m => m["target"].Value() == target && - m["error"].Value() == error && - m["message"].Value().Contains(shouldContainInMessage)); + z => z["target"].Value() == target && + z["error"].Value() == error && + z["message"].Value().Contains(shouldContainInMessage)); } else { - a.ObjectResponse["error"]["details"].Should().Contain(m => m["target"].Value() == target && m["error"].Value() == error); + a.ObjectResponse["error"]["details"].Should().Contain(z => z["target"].Value() == target && z["error"].Value() == error); } }