aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-02-15 10:06:21 +0100
committerSonarTech <sonartech@sonarsource.com>2019-02-15 20:20:54 +0100
commit63b96ef59940c4cbe03e275ed5947b154cc0b4dd (patch)
treec1d007d31fa6d2d8ef20132bef3fe252b21ae8f2 /server/sonar-web
parenta5c56967b78f74ee497bbbc3981cc697ebbfa044 (diff)
downloadsonarqube-63b96ef59940c4cbe03e275ed5947b154cc0b4dd.tar.gz
sonarqube-63b96ef59940c4cbe03e275ed5947b154cc0b4dd.zip
Fix testMocks file
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/helpers/testMocks.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/server/sonar-web/src/main/js/helpers/testMocks.ts b/server/sonar-web/src/main/js/helpers/testMocks.ts
index 04df471571e..4a7fd47182b 100644
--- a/server/sonar-web/src/main/js/helpers/testMocks.ts
+++ b/server/sonar-web/src/main/js/helpers/testMocks.ts
@@ -71,34 +71,6 @@ export function mockEvent(overrides = {}) {
} as any;
}
-export function mockIssue(overrides = {}): T.Issue {
- return {
- actions: [],
- component: 'my-component',
- componentLongName: 'My Component',
- componentQualifier: 'my-component',
- componentUuid: 'uuid',
- creationDate: 'date',
- key: 'foo',
- flows: [],
- fromHotspot: false,
- message: 'Message',
- organization: 'foo',
- project: 'my-project',
- projectName: 'My Project',
- projectOrganization: 'org',
- projectKey: 'key',
- rule: 'rule',
- ruleName: 'Rule',
- secondaryLocations: [],
- severity: 'severity',
- status: 'status',
- transitions: [],
- type: 'BUG',
- ...overrides
- };
-}
-
export function mockLocation(overrides: Partial<Location> = {}): Location {
return {
action: 'PUSH',