From 57e61250ac6c59fe93c65a95bfd2cb081cd3c34f Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 19 Oct 2016 12:51:01 +0200 Subject: Remove notify recipient option Signed-off-by: Roeland Jago Douma --- core/js/tests/specs/sharedialogshareelistview.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'core/js/tests') diff --git a/core/js/tests/specs/sharedialogshareelistview.js b/core/js/tests/specs/sharedialogshareelistview.js index 9aab46d9117..699e2e58d7b 100644 --- a/core/js/tests/specs/sharedialogshareelistview.js +++ b/core/js/tests/specs/sharedialogshareelistview.js @@ -139,23 +139,6 @@ describe('OC.Share.ShareDialogShareeListView', function () { listView.$el.find('a.showCruds').click(); expect(listView.$el.find('li.cruds').hasClass('hidden')).toEqual(false); }); - - it('sends notification to user when checkbox clicked', function () { - shareModel.set('shares', [{ - id: 100, - item_source: 123, - permissions: 1, - share_type: OC.Share.SHARE_TYPE_USER, - share_with: 'user1', - share_with_displayname: 'User One' - }]); - listView.render(); - var notificationStub = sinon.stub(listView.model, 'sendNotificationForShare'); - listView.$el.find("input[name='mailNotification']").click(); - expect(notificationStub.called).toEqual(true); - notificationStub.restore(); - }); - }); }); -- cgit v1.2.3