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