use of net.nemerosa.ontrack.extension.github.client.OntrackGitHubClientFactory in project ontrack by nemerosa.
the class GitHubIssueServiceExtensionTest method init.
@Before
public void init() {
configurationService = mock(GitHubConfigurationService.class);
OntrackGitHubClientFactory gitHubClientFactory = mock(OntrackGitHubClientFactory.class);
IssueExportServiceFactory issueExportServiceFactory = mock(IssueExportServiceFactory.class);
extension = new GitHubIssueServiceExtension(new GitHubExtensionFeature(new GitExtensionFeature(new SCMExtensionFeature())), configurationService, gitHubClientFactory, issueExportServiceFactory);
GitHubEngineConfiguration engineConfiguration = new GitHubEngineConfiguration("test", "url", "", "", "");
configuration = new GitHubIssueServiceConfiguration(engineConfiguration, "nemerosa/ontrack");
}
Aggregations