From a1eb0aa94664acd656aea421924b09b08e41997b Mon Sep 17 00:00:00 2001 From: maddin2016 Date: Mon, 6 Jun 2016 16:34:15 +0200 Subject: [PATCH] fix unit test --- Octokit.Tests/Clients/TeamsClientTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Octokit.Tests/Clients/TeamsClientTests.cs b/Octokit.Tests/Clients/TeamsClientTests.cs index 31806b0c..d1d6a37f 100644 --- a/Octokit.Tests/Clients/TeamsClientTests.cs +++ b/Octokit.Tests/Clients/TeamsClientTests.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Threading.Tasks; using NSubstitute; using Xunit; +using System.Net; namespace Octokit.Tests.Clients { @@ -309,7 +310,7 @@ namespace Octokit.Tests.Clients client.AddRepository(1, "org", "repo", newPermission); - connection.Connection.Received().Put(Arg.Is(u => u.ToString() == "teams/1/repos/org/repo"), Arg.Any(), "application/vnd.github.ironman-preview+json"); + connection.Connection.Received().Put(Arg.Is(u => u.ToString() == "teams/1/repos/org/repo"), Arg.Any(), "", "application/vnd.github.ironman-preview+json"); } [Fact]