aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-08-29 23:28:50 +0200
committerGitHub <noreply@github.com>2024-08-29 23:28:50 +0200
commitbfb583575034c47fc82d858b62fff42f6971bb92 (patch)
treef17bf1392686a27ab6e677af59bcaa384ca34536 /tests
parent12dcc0bf58306bdf6f22d7079f539c4dd1028a3c (diff)
parent81c6c24cd5995addd5407ff7ca4d886c7f931b32 (diff)
downloadnextcloud-server-bfb583575034c47fc82d858b62fff42f6971bb92.tar.gz
nextcloud-server-bfb583575034c47fc82d858b62fff42f6971bb92.zip
Merge pull request #47546 from nextcloud/fix/files-view-error-messages
fix: Adjust filename validation messages
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 0fd0c330ea5..f256a954f9f 100644
--- a/tests/lib/Files/PathVerificationTest.php
+++ b/tests/lib/Files/PathVerificationTest.php
@@ -32,7 +32,7 @@ class PathVerificationTest extends \Test\TestCase {
public function testPathVerificationFileNameTooLong() {
$this->expectException(\OCP\Files\InvalidPathException::class);
- $this->expectExceptionMessage('File name is too long');
+ $this->expectExceptionMessage('Filename is too long');
$fileName = str_repeat('a', 500);
$this->view->verifyPath('', $fileName);