mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 12:26:18 +00:00
Unit test fixed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user