summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-09 10:58:11 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 09:23:37 +0100
commit558f169671208fb349bb40de7b6e0abb02097832 (patch)
tree716c3e8e0ea965c4a592cfe60618019d7554a57f /tests
parent4652d203e37d06b427872888ccb17227c1e0818b (diff)
downloadnextcloud-server-558f169671208fb349bb40de7b6e0abb02097832.tar.gz
nextcloud-server-558f169671208fb349bb40de7b6e0abb02097832.zip
Move the validation into one place only
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/PathVerificationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/PathVerificationTest.php b/tests/lib/Files/PathVerificationTest.php
index 12285bb7acd..c1cebe975fd 100644
--- a/tests/lib/Files/PathVerificationTest.php
+++ b/tests/lib/Files/PathVerificationTest.php
@@ -86,7 +86,7 @@ class PathVerificationTest extends \Test\TestCase {
if (!$connection->supports4ByteText()) {
$this->expectException(InvalidPathException::class);
- $this->expectExceptionMessage('4-byte characters are not supported in file names');
+ $this->expectExceptionMessage('File name contains at least one invalid character');
}
$this->view->verifyPath('', $fileName);