aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/mocks/IssuesServiceMock.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/mocks/IssuesServiceMock.ts')
-rw-r--r--server/sonar-web/src/main/js/api/mocks/IssuesServiceMock.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/api/mocks/IssuesServiceMock.ts b/server/sonar-web/src/main/js/api/mocks/IssuesServiceMock.ts
index 7b83314b8d3..0188a721882 100644
--- a/server/sonar-web/src/main/js/api/mocks/IssuesServiceMock.ts
+++ b/server/sonar-web/src/main/js/api/mocks/IssuesServiceMock.ts
@@ -46,7 +46,7 @@ import { NoticeType } from '../../types/users';
import { getComponentForSourceViewer, getSources } from '../components';
import { getIssueFlowSnippets, searchIssues } from '../issues';
import { getRuleDetails } from '../rules';
-import { dismissNotification, getCurrentUser } from '../users';
+import { dismissNotice, getCurrentUser } from '../users';
function mockReferenceComponent(override?: Partial<ReferencedComponent>) {
return {
@@ -200,7 +200,7 @@ export default class IssuesServiceMock {
this.handleGetComponentForSourceViewer
);
(getCurrentUser as jest.Mock).mockImplementation(this.handleGetCurrentUser);
- (dismissNotification as jest.Mock).mockImplementation(this.handleDismissNotification);
+ (dismissNotice as jest.Mock).mockImplementation(this.handleDismissNotification);
}
async getStandards(): Promise<Standards> {