diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-01-22 13:13:41 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-01-22 15:56:42 +0100 |
commit | e5445ccbba7c552ca152d9e1c9b5b82e9be5187f (patch) | |
tree | 5970853d0f834a19f37d53debc467be5eed1debd /apps/files_sharing/tests/js | |
parent | b1d4c3f50b00457c1ac10949df4ed5cf9adc9906 (diff) | |
download | nextcloud-server-e5445ccbba7c552ca152d9e1c9b5b82e9be5187f.tar.gz nextcloud-server-e5445ccbba7c552ca152d9e1c9b5b82e9be5187f.zip |
Call proper function when fetching link shares in the breadcrumb view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/tests/js')
-rw-r--r-- | apps/files_sharing/tests/js/sharedbreadcrumviewSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/js/sharedbreadcrumviewSpec.js b/apps/files_sharing/tests/js/sharedbreadcrumviewSpec.js index c58e038c4ab..2386a037013 100644 --- a/apps/files_sharing/tests/js/sharedbreadcrumviewSpec.js +++ b/apps/files_sharing/tests/js/sharedbreadcrumviewSpec.js @@ -194,7 +194,7 @@ describe('OCA.Sharing.ShareBreadCrumbView tests', function() { var model = sinon.createStubInstance(OC.Share.ShareItemModel); model.getSharesWithCurrentItem = function() { return [] }; - model.hasLinkShare = function() { return false; }; + model.hasLinkShares = function() { return false; }; shareTab.trigger('sharesChanged', model); @@ -227,7 +227,7 @@ describe('OCA.Sharing.ShareBreadCrumbView tests', function() { model.getSharesWithCurrentItem = function() { return [ {share_type: OC.Share.SHARE_TYPE_USER} ] }; - model.hasLinkShare = function() { return true; }; + model.hasLinkShares = function() { return true; }; shareTab.trigger('sharesChanged', model); |