Commit 3389c962 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Natalia Tepluhina

Replace board service in board new issue spec.js

parent ea58cae1
---
title: removes references of BoardService
merge_request: 20874
author: nuwe1
type: other
...@@ -7,7 +7,7 @@ import boardNewIssue from '~/boards/components/board_new_issue.vue'; ...@@ -7,7 +7,7 @@ import boardNewIssue from '~/boards/components/board_new_issue.vue';
import boardsStore from '~/boards/stores/boards_store'; import boardsStore from '~/boards/stores/boards_store';
import '~/boards/models/list'; import '~/boards/models/list';
import { listObj, boardsMockInterceptor, mockBoardService } from './mock_data'; import { listObj, boardsMockInterceptor } from './mock_data';
describe('Issue boards new issue form', () => { describe('Issue boards new issue form', () => {
let vm; let vm;
...@@ -36,7 +36,6 @@ describe('Issue boards new issue form', () => { ...@@ -36,7 +36,6 @@ describe('Issue boards new issue form', () => {
mock = new MockAdapter(axios); mock = new MockAdapter(axios);
mock.onAny().reply(boardsMockInterceptor); mock.onAny().reply(boardsMockInterceptor);
gl.boardService = mockBoardService();
boardsStore.create(); boardsStore.create();
list = new List(listObj); list = new List(listObj);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment