From 3f8ed4a88200785e0252bcdea3483451e384a6ed Mon Sep 17 00:00:00 2001 From: Anton Sizikov Date: Sun, 6 Dec 2015 19:37:11 +0100 Subject: [PATCH] Unit test fixed --- Octokit.Tests/Exceptions/ApiErrorTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Octokit.Tests/Exceptions/ApiErrorTests.cs b/Octokit.Tests/Exceptions/ApiErrorTests.cs index f230503e..ebcd401c 100644 --- a/Octokit.Tests/Exceptions/ApiErrorTests.cs +++ b/Octokit.Tests/Exceptions/ApiErrorTests.cs @@ -44,8 +44,8 @@ namespace Octokit.Tests.Exceptions var apiError = serializer.Deserialize(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); } } }