mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 11:17:04 +00:00
[Mobile] Remove obsolete test cases
...for functionality that has been moved out of TreeNodeController.
This commit is contained in:
parent
5a1c83fca8
commit
befa66a9e2
@ -52,10 +52,10 @@ define(
|
||||
"domainObject",
|
||||
[ "getId", "getCapability", "getModel", "useCapability" ]
|
||||
);
|
||||
|
||||
|
||||
mockAgentService.getOrientation.andReturn("portrait");
|
||||
mockAgentService.isPhone.andReturn(true);
|
||||
|
||||
|
||||
controller = new TreeNodeController(mockScope, mockTimeout, mockAgentService);
|
||||
});
|
||||
|
||||
@ -196,17 +196,6 @@ define(
|
||||
expect(controller.isSelected()).toBeFalsy();
|
||||
|
||||
});
|
||||
|
||||
it("check if tree node is in a mobile device", function () {
|
||||
if (controller) {
|
||||
controller.checkMobile();
|
||||
}
|
||||
});
|
||||
|
||||
it("allows a set object to emit select-obj", function () {
|
||||
controller.setObject(mockNgModel, mockDomainObject);
|
||||
expect(mockScope.$emit).toHaveBeenCalledWith('select-obj');
|
||||
});
|
||||
});
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user