mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-21 22:55:12 +00:00
26 lines
666 B
C#
26 lines
666 B
C#
using System.Reactive.Linq;
|
|
using System.Threading.Tasks;
|
|
using Octokit.Reactive;
|
|
using Xunit;
|
|
|
|
namespace Octokit.Tests.Integration
|
|
{
|
|
public class ObservableEnterpriseLicenseClientTests
|
|
{
|
|
readonly IObservableGitHubClient _github;
|
|
|
|
public ObservableEnterpriseLicenseClientTests()
|
|
{
|
|
_github = new ObservableGitHubClient(EnterpriseHelper.GetAuthenticatedClient());
|
|
}
|
|
|
|
[GitHubEnterpriseTest]
|
|
public async Task CanGet()
|
|
{
|
|
var observable = _github.Enterprise.License.Get();
|
|
var licenseInfo = await observable;
|
|
|
|
Assert.NotNull(licenseInfo);
|
|
}
|
|
}
|
|
} |