Simon Hunt

GUI -- fixed broken unit tests.

Change-Id: I6563d9965d1d4fd47b0302b090f09431eb25a49a
......@@ -41,7 +41,7 @@ describe('factory: fw/svg/svgUtil.js', function() {
it('should define api functions', function () {
expect(fs.areFunctions(sus, [
'createDragBehavior', 'loadGlow', 'cat7', 'translate', 'stripPx',
'makeVisible'
'makeVisible', 'safeId'
])).toBeTruthy();
});
......
......@@ -20,7 +20,7 @@
describe('factory: view/topo/topoForce.js', function() {
var $log, fs, tfs;
beforeEach(module('ovTopo', 'onosUtil'));
beforeEach(module('ovTopo', 'onosUtil', 'onosLayer'));
beforeEach(inject(function (_$log_, FnService, TopoForceService) {
$log = _$log_;
......@@ -34,7 +34,8 @@ describe('factory: view/topo/topoForce.js', function() {
it('should define api functions', function () {
expect(fs.areFunctions(tfs, [
'initForce', 'resize'
'initForce', 'resize', 'updateDeviceColors',
'addDevice', 'updateDevice'
])).toBeTruthy();
});
......
......@@ -35,7 +35,8 @@ describe('factory: view/topo/topoInst.js', function() {
it('should define api functions', function () {
expect(fs.areFunctions(tis, [
'initInst', 'destroyInst',
'addInstance', 'updateInstance', 'removeInstance'
'addInstance', 'updateInstance', 'removeInstance',
'isVisible', 'show', 'hide'
])).toBeTruthy();
});
......