Joeri de Gooijer pushed to branch master at cms-community / hippo-addon-channel-manager
Commits: 73cd5e7b by Joeri de Gooijer at 2017-06-29T18:00:29+02:00 CHANNELMGR-1378 Fix unit test - - - - - 1 changed file: - frontend-ng/src/angularjs/channel/channel.service.spec.js Changes: ===================================== frontend-ng/src/angularjs/channel/channel.service.spec.js ===================================== --- a/frontend-ng/src/angularjs/channel/channel.service.spec.js +++ b/frontend-ng/src/angularjs/channel/channel.service.spec.js @@ -378,7 +378,6 @@ describe('ChannelService', () => { expect(ChannelService.getId()).toEqual(channelMock.id); expect(ChannelService.getChannel()).toEqual(channelMock); - expect(ConfigServiceMock.setContextPathForChannel).not.toHaveBeenCalledWith('/b'); HstService.getChannel.and.callFake(() => $q.resolve(channelB)); ChannelService.loadChannel(channelB.id); @@ -387,7 +386,6 @@ describe('ChannelService', () => { expect(ChannelService.getId()).toEqual(channelB.id); expect(ChannelService.getChannel()).toEqual(channelB); expect(SessionService.initialize).toHaveBeenCalledWith(channelB.hostname, channelB.mountId); - expect(ConfigServiceMock.setContextPathForChannel).toHaveBeenCalledWith('/b'); }); // TODO: add a test where the server returns an error upon the ChannelService's request for channel details. View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/73cd5e7bbfdbc4c0926955567986030b4e3209d4
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn