diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-05-19 17:40:36 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-05-19 17:41:06 +0200 |
commit | f7a2b5e7a948f9bd8e5fcf5b642afad3fa84ae5d (patch) | |
tree | 990f5a31883e14754c43ddc43ba2c3561a065a1b /apps/files_sharing/js | |
parent | 07483033c1b52efd269a0b1eb8df1d3eb2ad8a2b (diff) | |
download | nextcloud-server-f7a2b5e7a948f9bd8e5fcf5b642afad3fa84ae5d.tar.gz nextcloud-server-f7a2b5e7a948f9bd8e5fcf5b642afad3fa84ae5d.zip |
Added unit tests for download URL in public sharing page
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r-- | apps/files_sharing/js/public.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 73b76b6bafc..c5934a4f609 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -277,6 +277,11 @@ OCA.Sharing.PublicApp = { }; $(document).ready(function () { + // FIXME: replace with OC.Plugins.register() + if (window.TESTING) { + return; + } + var App = OCA.Sharing.PublicApp; // defer app init, to give a chance to plugins to register file actions _.defer(function () { |