diff --git a/services/jira/jira-issue.spec.js b/services/jira/jira-issue.spec.js index bccde62ef7a2e..ae2bc7f46013c 100644 --- a/services/jira/jira-issue.spec.js +++ b/services/jira/jira-issue.spec.js @@ -18,11 +18,14 @@ describe('JiraIssue', function() { .reply(200, { fields: { status: { name: 'in progress' } } }) expect( - await JiraIssue.invoke(defaultContext, config, { - protocol: 'https', - hostAndPath: 'myprivatejira.test', - issueKey: 'secure-234', - }) + await JiraIssue.invoke( + defaultContext, + config, + { + issueKey: 'secure-234', + }, + { hostUrl: 'https://myprivatejira.test' } + ) ).to.deep.equal({ label: 'secure-234', message: 'in progress', diff --git a/services/jira/jira-sprint.spec.js b/services/jira/jira-sprint.spec.js index a0d92653166f9..b34f8516dbdc9 100644 --- a/services/jira/jira-sprint.spec.js +++ b/services/jira/jira-sprint.spec.js @@ -31,11 +31,14 @@ describe('JiraSprint', function() { }) expect( - await JiraSprint.invoke(defaultContext, config, { - protocol: 'https', - hostAndPath: 'myprivatejira.test/jira', - sprintId, - }) + await JiraSprint.invoke( + defaultContext, + config, + { + sprintId, + }, + { hostUrl: 'https://myprivatejira.test/jira' } + ) ).to.deep.equal({ label: 'completion', message: '50%',