-Fixed tests

This commit is contained in:
James Newton-King
2014-05-06 14:11:31 +12:00
parent 243a89771d
commit 3e4eb24047
2 changed files with 3 additions and 3 deletions
@@ -1593,7 +1593,7 @@ To fix this error either change the environment to be fully trusted, change the
foreach (KeyValuePair<JsonProperty, object> propertyValue in propertyValues)
{
JsonProperty matchingConstructorParameter = constructorParameters.ForgivingCaseSensitiveFind(kv => kv.Key.PropertyName, propertyValue.Key.UnderlyingName).Key;
JsonProperty matchingConstructorParameter = constructorParameters.ForgivingCaseSensitiveFind(kv => kv.Key.PropertyName, propertyValue.Key.PropertyName).Key;
if (matchingConstructorParameter != null)
constructorParameters[matchingConstructorParameter] = propertyValue.Value;
else