AMPS-1252: Use mock, not jira-core's IssueImpl

Merged
#153 · Created  · Last updated

Merged pull request

Merged in issue-5.0/AMPS-1252-jira-examples-should-not-use-core (pull request #153)

f6ec521·Author: ·Closed by: ·2015-05-27

Description

Disclaimer: I think I got the right stakeholders, but I'm not 100% sure that Tom and Lucas are correct because your names were not a perfect match for what Confluence lists. Apologies if I've gotten them wrong.

See https://answers.atlassian.com/questions/15840218 for what prompted this. The short version is that the unit tests that AMPS creates for workflow functions are trying to use jira-core's IssueImpl class directly instead of mocking MutableIssue like a good unit test should.

I cleaned up the formatting quite a bit here, too (spaces between operators and the like).

The CI is here and green.

0 attachments

0 comments

Loading commits...