This commit is contained in:
8
util.cs
8
util.cs
@@ -440,13 +440,13 @@ namespace raven_integration
|
||||
if (shouldContainInMessage != null)
|
||||
{
|
||||
a.ObjectResponse["error"]["details"].Should().Contain(
|
||||
m => m["target"].Value<string>() == target &&
|
||||
m["error"].Value<string>() == error &&
|
||||
m["message"].Value<string>().Contains(shouldContainInMessage));
|
||||
z => z["target"].Value<string>() == target &&
|
||||
z["error"].Value<string>() == error &&
|
||||
z["message"].Value<string>().Contains(shouldContainInMessage));
|
||||
}
|
||||
else
|
||||
{
|
||||
a.ObjectResponse["error"]["details"].Should().Contain(m => m["target"].Value<string>() == target && m["error"].Value<string>() == error);
|
||||
a.ObjectResponse["error"]["details"].Should().Contain(z => z["target"].Value<string>() == target && z["error"].Value<string>() == error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user