diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-19 12:51:01 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-26 20:52:36 +0200 |
commit | 57e61250ac6c59fe93c65a95bfd2cb081cd3c34f (patch) | |
tree | ea4b59a13e34dbcd8e4fa355473d44848070aea4 /core/js/tests | |
parent | b98dfaccd96fb9b0da13bc59f55ed9b61cbbd528 (diff) | |
download | nextcloud-server-57e61250ac6c59fe93c65a95bfd2cb081cd3c34f.tar.gz nextcloud-server-57e61250ac6c59fe93c65a95bfd2cb081cd3c34f.zip |
Remove notify recipient option
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js/tests')
-rw-r--r-- | core/js/tests/specs/sharedialogshareelistview.js | 17 |
1 files changed, 0 insertions, 17 deletions
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(); - }); - }); }); |