Fix tests
This commit is contained in:
parent
9d35ca7594
commit
5e83436e15
@ -1,4 +1,4 @@
|
||||
/* global expect TitleMock RouterMock ActivatedRouteMock AuthServiceMock BoardServiceMock */
|
||||
/* global expect TitleMock RouterMock ActivatedRouteMock AuthServiceMock BoardServiceMock StringsServiceMock */
|
||||
var path = '../../../build/board/',
|
||||
BoardDisplay = require(path + 'board.component.js').BoardDisplay;
|
||||
|
||||
@ -12,7 +12,8 @@ describe('BoardDisplay', () => {
|
||||
router = new RouterMock();
|
||||
|
||||
board = new BoardDisplay(title, router, ActivatedRouteMock,
|
||||
AuthServiceMock, BoardServiceMock);
|
||||
AuthServiceMock, BoardServiceMock,
|
||||
null, null, StringsServiceMock);
|
||||
});
|
||||
|
||||
it('sets the title when constructed', () => {
|
||||
|
@ -11,7 +11,8 @@ describe('TaskDisplay', () => {
|
||||
|
||||
task = new TaskDisplay(AuthServiceMock, SanitizerMock,
|
||||
BoardServiceMock, modalService,
|
||||
new NotificationsServiceMock());
|
||||
new NotificationsServiceMock(),
|
||||
StringsServiceMock);
|
||||
});
|
||||
|
||||
it('has a context menu', () => {
|
||||
|
Reference in New Issue
Block a user