public async Task ReturnsIssuesUsingRest() { var issueTracker = new JiraIssueTracker("https://catelproject.atlassian.net/", "CTL", null); var issueFilter = new IssueTrackerFilter { IncludeClosed = true, Since = new DateTimeOffset(DateTime.Today.AddMonths(-1)) }; var issues = await issueTracker.GetIssuesAsync(issueFilter); var issuesList = issues.ToList(); issuesList.ShouldNotBeEmpty(); }
public JiraIssueTrackerTests() { _jiraApi = Substitute.For <IJiraApi>(); _sut = new JiraIssueTracker(_jiraApi, new Context()); }
public JiraIssueTrackerTests() { _jiraApi = Substitute.For <IJiraApi>(); _sut = new JiraIssueTracker(_jiraApi, _log, new GitReleaseNotesArguments()); }