|
@@ -1,3 +1,4 @@
|
|
|
+import {GitHubIntegration as GitHubIntegrationFixture} from 'sentry-fixture/githubIntegration';
|
|
|
import {Group as GroupFixture} from 'sentry-fixture/group';
|
|
|
|
|
|
import {
|
|
@@ -17,7 +18,7 @@ describe('ExternalIssueActions', function () {
|
|
|
});
|
|
|
|
|
|
describe('with no external issues linked', function () {
|
|
|
- const integration = TestStubs.GitHubIntegration({externalIssues: []});
|
|
|
+ const integration = GitHubIntegrationFixture({externalIssues: []});
|
|
|
const configurations = [integration];
|
|
|
|
|
|
it('renders', function () {
|
|
@@ -74,12 +75,15 @@ describe('ExternalIssueActions', function () {
|
|
|
describe('with an external issue linked', function () {
|
|
|
const externalIssues = [
|
|
|
{
|
|
|
- id: 100,
|
|
|
+ id: '100',
|
|
|
url: 'https://github.com/MeredithAnya/testing/issues/2',
|
|
|
key: 'getsentry/sentry#2',
|
|
|
+ title: 'SyntaxError: XYZ',
|
|
|
+ description: 'something else, sorry',
|
|
|
+ displayName: '',
|
|
|
},
|
|
|
];
|
|
|
- const integration = TestStubs.GitHubIntegration({externalIssues});
|
|
|
+ const integration = GitHubIntegrationFixture({externalIssues});
|
|
|
const configurations = [integration];
|
|
|
it('renders', function () {
|
|
|
render(
|