mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 03:16:11 +00:00
Update Repository to include WatchersCount (#2182)
This commit is contained in:
@@ -655,10 +655,11 @@ public class RepositoriesClientTests
|
||||
|
||||
var repository = await github.Repository.Get("haacked", "seegit");
|
||||
|
||||
Assert.Equal("https://github.com/Haacked/SeeGit.git", repository.CloneUrl);
|
||||
Assert.Equal("https://github.com/Haacked/SeeGit.git", repository.CloneUrl, ignoreCase: true);
|
||||
Assert.False(repository.Private);
|
||||
Assert.False(repository.Fork);
|
||||
Assert.Equal(AccountType.User, repository.Owner.Type);
|
||||
Assert.True(repository.WatchersCount > 0);
|
||||
}
|
||||
|
||||
[IntegrationTest]
|
||||
@@ -668,10 +669,11 @@ public class RepositoriesClientTests
|
||||
|
||||
var repository = await github.Repository.Get(3622414);
|
||||
|
||||
Assert.Equal("https://github.com/Haacked/SeeGit.git", repository.CloneUrl);
|
||||
Assert.Equal("https://github.com/Haacked/SeeGit.git", repository.CloneUrl, ignoreCase: true);
|
||||
Assert.False(repository.Private);
|
||||
Assert.False(repository.Fork);
|
||||
Assert.Equal(AccountType.User, repository.Owner.Type);
|
||||
Assert.True(repository.WatchersCount > 0);
|
||||
}
|
||||
|
||||
[IntegrationTest]
|
||||
|
||||
Reference in New Issue
Block a user