diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-04-17 23:50:18 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-29 20:19:58 +0200 |
commit | 4bd9bc7b06c143ad0db8f11dfa31cec8842e34f0 (patch) | |
tree | c90fa7394ab9200a76b46eb9bc26b9bbc6acfdd9 /build/integration | |
parent | a5fd623469b40c44881e4635de073d334b371bae (diff) | |
download | nextcloud-server-4bd9bc7b06c143ad0db8f11dfa31cec8842e34f0.tar.gz nextcloud-server-4bd9bc7b06c143ad0db8f11dfa31cec8842e34f0.zip |
feat(files): Use receiving users language for the ownership transfer target folder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'build/integration')
-rw-r--r-- | build/integration/features/bootstrap/CommandLineContext.php | 2 | ||||
-rw-r--r-- | build/integration/files_features/transfer-ownership.feature | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/build/integration/features/bootstrap/CommandLineContext.php b/build/integration/features/bootstrap/CommandLineContext.php index 38bdb54c38d..47a85885ce4 100644 --- a/build/integration/features/bootstrap/CommandLineContext.php +++ b/build/integration/features/bootstrap/CommandLineContext.php @@ -51,7 +51,7 @@ class CommandLineContext implements \Behat\Behat\Context\Context { foreach ($results as $path => $data) { $path = rawurldecode($path); $parts = explode(' ', $path); - if (basename($parts[0]) !== 'transferred') { + if (basename($parts[0]) !== 'Transferred') { continue; } if (isset($parts[2]) && $parts[2] === $sourceUser) { diff --git a/build/integration/files_features/transfer-ownership.feature b/build/integration/files_features/transfer-ownership.feature index 22e34dcf7af..44860c195b9 100644 --- a/build/integration/files_features/transfer-ownership.feature +++ b/build/integration/files_features/transfer-ownership.feature @@ -39,7 +39,7 @@ Feature: transfer-ownership And As an "user1" And using received transfer folder of "user1" as dav path Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" - And transfer folder name contains "transferred from user0 -risky- ヂspḷay -na|-|e- on" + And transfer folder name contains "Transferred from user0 -risky- ヂspḷay -na|-|e- on" And using old dav path And as "user0" the folder "/test" does not exist And using received transfer folder of "user1" as dav path @@ -345,7 +345,7 @@ Feature: transfer-ownership And As an "user1" And using received transfer folder of "user1" as dav path Then Downloaded content when downloading file "/test/somefile.txt" with range "bytes=0-6" should be "This is" - And transfer folder name contains "transferred from user0 -risky- ヂspḷay -na|-|e- on" + And transfer folder name contains "Transferred from user0 -risky- ヂspḷay -na|-|e- on" And using old dav path And as "user0" the folder "/test" does not exist And using received transfer folder of "user1" as dav path |