summaryrefslogtreecommitdiffstats
path: root/core/js/tests
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-01 11:41:22 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-01 11:41:22 +0100
commit9407f6c1d08b95bbbd751c372c0e571b1e2e1c15 (patch)
treecfdd35d6e2911f2646c64b4b7fc46b0b07ed675f /core/js/tests
parenta57161f1e73a1238cf7ffa0ac39e5b6be54f105f (diff)
downloadnextcloud-server-9407f6c1d08b95bbbd751c372c0e571b1e2e1c15.tar.gz
nextcloud-server-9407f6c1d08b95bbbd751c372c0e571b1e2e1c15.zip
Fix test for tooltip and local share owner
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/js/tests')
-rw-r--r--core/js/tests/specs/shareSpec.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/js/tests/specs/shareSpec.js b/core/js/tests/specs/shareSpec.js
index fbf6eecc8df..cef0d57fc6a 100644
--- a/core/js/tests/specs/shareSpec.js
+++ b/core/js/tests/specs/shareSpec.js
@@ -58,8 +58,8 @@ describe('OC.Share tests', function() {
tooltipStub.reset();
}
- it('displays the local share owner as is', function() {
- checkOwner('User One', 'User One', null);
+ it('displays the local share owner with "Shared by" prefix', function() {
+ checkOwner('User One', 'Shared by User One', null);
});
it('displays the user name part of a remote share owner', function() {
checkOwner(
@@ -240,4 +240,3 @@ describe('OC.Share tests', function() {
});
});
});
-