diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-07-11 15:16:26 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-07-14 21:11:50 +0200 |
commit | 7159d6118e04ba543b8e6e3347438b31fd87ecc8 (patch) | |
tree | 6efd0e4787bd54acf347b26006d50656aa7c0b7d /core/js/tests/specs/shareSpec.js | |
parent | 9ee1c7ff7143c9d75a5f5a9f9477cc73f5d97717 (diff) | |
download | nextcloud-server-7159d6118e04ba543b8e6e3347438b31fd87ecc8.tar.gz nextcloud-server-7159d6118e04ba543b8e6e3347438b31fd87ecc8.zip |
reduce share action text to the user name only
Diffstat (limited to 'core/js/tests/specs/shareSpec.js')
-rw-r--r-- | core/js/tests/specs/shareSpec.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/js/tests/specs/shareSpec.js b/core/js/tests/specs/shareSpec.js index ed04df3fe6f..00a88ba36ef 100644 --- a/core/js/tests/specs/shareSpec.js +++ b/core/js/tests/specs/shareSpec.js @@ -403,39 +403,39 @@ describe('OC.Share tests', function() { } it('displays the local share owner as is', function() { - checkOwner('User One', 'Shared by User One', null); + checkOwner('User One', 'User One', null); }); it('displays the user name part of a remote share owner', function() { checkOwner( 'User One@someserver.com', - 'Shared by User One', + 'User One', 'User One@someserver.com' ); checkOwner( 'User One@someserver.com/', - 'Shared by User One', + 'User One', 'User One@someserver.com' ); checkOwner( 'User One@someserver.com/root/of/owncloud', - 'Shared by User One', + 'User One', 'User One@someserver.com' ); }); it('displays the user name part with domain of a remote share owner', function() { checkOwner( 'User One@example.com@someserver.com', - 'Shared by User One@example.com', + 'User One@example.com', 'User One@example.com@someserver.com' ); checkOwner( 'User One@example.com@someserver.com/', - 'Shared by User One@example.com', + 'User One@example.com', 'User One@example.com@someserver.com' ); checkOwner( 'User One@example.com@someserver.com/root/of/owncloud', - 'Shared by User One@example.com', + 'User One@example.com', 'User One@example.com@someserver.com' ); }); |