mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 02:05:39 +00:00
23 lines
486 B
C#
23 lines
486 B
C#
using System.Threading.Tasks;
|
|
using Octokit;
|
|
using Octokit.Tests.Integration;
|
|
using Xunit;
|
|
|
|
public class EnterpriseLicenseClientTests
|
|
{
|
|
readonly IGitHubClient _github;
|
|
|
|
public EnterpriseLicenseClientTests()
|
|
{
|
|
_github = EnterpriseHelper.GetAuthenticatedClient();
|
|
}
|
|
|
|
[GitHubEnterpriseTest]
|
|
public async Task CanGetLicense()
|
|
{
|
|
var licenseInfo = await
|
|
_github.Enterprise.License.Get();
|
|
|
|
Assert.NotNull(licenseInfo);
|
|
}
|
|
} |