Skip to content

Commit df0ff7c

Browse files
committed
Fix test for addIssueToSprint
1 parent 3cb5517 commit df0ff7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jira-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ describe('Jira API Tests', () => {
484484

485485
it('addIssueToSprint hits proper url', async () => {
486486
const result = await dummyURLCall('addIssueToSprint', ['someIssueId', 'someSprintId']);
487-
result.should.eql('http://jira.somehost.com:8080/rest/api/2.0/sprint/someSprintId/issues/add');
487+
result.should.eql('http://jira.somehost.com:8080/rest/agile/1.0/sprint/someSprintId/issue');
488488
});
489489

490490
it('issueLink hits proper url', async () => {

0 commit comments

Comments
 (0)