Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinscholz83 committed Jun 6, 2016
1 parent 3ed011d commit a1eb0aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Octokit.Tests/Clients/TeamsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
using System.Net;

namespace Octokit.Tests.Clients
{
Expand Down Expand Up @@ -309,7 +310,7 @@ public void AddOrUpdatePermission()

client.AddRepository(1, "org", "repo", newPermission);

connection.Connection.Received().Put(Arg.Is<Uri>(u => u.ToString() == "teams/1/repos/org/repo"), Arg.Any<object>(), "application/vnd.github.ironman-preview+json");
connection.Connection.Received().Put<HttpStatusCode>(Arg.Is<Uri>(u => u.ToString() == "teams/1/repos/org/repo"), Arg.Any<object>(), "", "application/vnd.github.ironman-preview+json");
}

[Fact]
Expand Down

0 comments on commit a1eb0aa

Please sign in to comment.