mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
fixed those tests
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Octokit.Tests.Clients
|
||||
|
||||
client.GetAllTeams("orgName");
|
||||
|
||||
connection.Received().GetAll<Team>(Arg.Is<Uri>(u => u.ToString() == "organizations/orgName/teams"));
|
||||
connection.Received().GetAll<Team>(Arg.Is<Uri>(u => u.ToString() == "orgs/orgName/teams"));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -54,7 +54,7 @@ namespace Octokit.Tests.Clients
|
||||
|
||||
client.CreateTeam("orgName", team);
|
||||
|
||||
connection.Received().Post<Team>(Arg.Is<Uri>(u => u.ToString() == "organizations/orgName/teams"), team);
|
||||
connection.Received().Post<Team>(Arg.Is<Uri>(u => u.ToString() == "orgs/orgName/teams"), team);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user