diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-06 06:07:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-06 06:07:35 +0300 |
commit | bdb97ece6809b945927d50effcdf9d284634d4d5 (patch) | |
tree | a5bf5284a9c233f47ca65ce5790a8276b3fade3b /spec/frontend/notes | |
parent | bd9860f6911096e8ffe269797b90edd611f9b40f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/notes')
-rw-r--r-- | spec/frontend/notes/mock_data.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend/notes/mock_data.js b/spec/frontend/notes/mock_data.js index 286f2adc1d8..d5b7ad73177 100644 --- a/spec/frontend/notes/mock_data.js +++ b/spec/frontend/notes/mock_data.js @@ -1,4 +1,5 @@ // Copied to ee/spec/frontend/notes/mock_data.js +import { HTTP_STATUS_OK } from '~/lib/utils/http_status'; import { __ } from '~/locale'; export const notesDataMock = { @@ -655,11 +656,11 @@ export const DISCUSSION_NOTE_RESPONSE_MAP = { }; export function getIndividualNoteResponse(config) { - return [200, INDIVIDUAL_NOTE_RESPONSE_MAP[config.method.toUpperCase()][config.url]]; + return [HTTP_STATUS_OK, INDIVIDUAL_NOTE_RESPONSE_MAP[config.method.toUpperCase()][config.url]]; } export function getDiscussionNoteResponse(config) { - return [200, DISCUSSION_NOTE_RESPONSE_MAP[config.method.toUpperCase()][config.url]]; + return [HTTP_STATUS_OK, DISCUSSION_NOTE_RESPONSE_MAP[config.method.toUpperCase()][config.url]]; } export const notesWithDescriptionChanges = [ |