mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 10:25:36 +00:00
Add disposable
This commit is contained in:
@@ -7,7 +7,7 @@ using Octokit;
|
||||
using Octokit.Tests.Integration;
|
||||
using Xunit;
|
||||
|
||||
public class IssuesEventsClientTests
|
||||
public class IssuesEventsClientTests : IDisposable
|
||||
{
|
||||
readonly IGitHubClient _gitHubClient;
|
||||
readonly IIssuesEventsClient _issuesEventsClientClient;
|
||||
|
||||
@@ -8,7 +8,7 @@ using Octokit;
|
||||
using Octokit.Tests.Integration;
|
||||
using Xunit;
|
||||
|
||||
public class IssuesLabelsClientTests
|
||||
public class IssuesLabelsClientTests : IDisposable
|
||||
{
|
||||
readonly IGitHubClient _gitHubClient;
|
||||
readonly IIssuesLabelsClient _issuesLabelsClient;
|
||||
|
||||
@@ -386,7 +386,7 @@ namespace Octokit
|
||||
/// <returns></returns>
|
||||
public static Uri Labels(string owner, string repo)
|
||||
{
|
||||
return "repos/{0}/{1}/labels/".FormatUri(owner, repo);
|
||||
return "repos/{0}/{1}/labels".FormatUri(owner, repo);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user