Skip to content

Commit

Permalink
remove redundant wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Jul 8, 2020
1 parent 404fca3 commit 4f0690c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
import {
CREATE_TEMPLATE_TIMELINE_ERROR_MESSAGE,
CREATE_TIMELINE_ERROR_MESSAGE,
} from './utils/create_timelines';
} from './utils/failure_cases';

describe('create timelines', () => {
let server: ReturnType<typeof serverMock.create>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import { SavedTimeline, TimelineSavedObject } from '../../../../../common/types/
import { SavedNote } from '../../../../../common/types/timeline/note';
import { NoteResult, ResponseTimeline } from '../../../../graphql/types';

export const CREATE_TIMELINE_ERROR_MESSAGE =
'UPDATE timeline with POST is not allowed, please use PATCH instead';
export const CREATE_TEMPLATE_TIMELINE_ERROR_MESSAGE =
'UPDATE template timeline with POST is not allowed, please use PATCH instead';

export const saveTimelines = (
frameworkRequest: FrameworkRequest,
timeline: SavedTimeline,
Expand Down

0 comments on commit 4f0690c

Please sign in to comment.