Issue #287 : Fix unit test mocks

This commit is contained in:
jdescottes 2015-10-10 14:27:33 +02:00
parent 2c75daecb1
commit 8081d5e232

View File

@ -28,6 +28,7 @@ describe("History Service suite", function() {
} }
}; };
var mockShortcutService = { var mockShortcutService = {
registerShortcuts : function () {},
registerShortcut : function () {} registerShortcut : function () {}
}; };
return new pskl.service.HistoryService(mockPiskelController, mockShortcutService); return new pskl.service.HistoryService(mockPiskelController, mockShortcutService);