Unit test fixed

This commit is contained in:
Anton Sizikov
2015-12-06 19:37:11 +01:00
parent 5ef499686e
commit 3f8ed4a882
+2 -2
View File
@@ -44,8 +44,8 @@ namespace Octokit.Tests.Exceptions
var apiError = serializer.Deserialize<ApiError>(json);
var stringRepresentation = apiError.ToString();
Assert.Contains("Field: title", stringRepresentation);
Assert.Contains("Code: title", stringRepresentation);
Assert.Contains("Resource: title", stringRepresentation);
Assert.Contains("Code: missing_field", stringRepresentation);
Assert.Contains("Resource: Issue", stringRepresentation);
}
}
}