diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2024-08-29 23:28:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 23:28:50 +0200 |
commit | bfb583575034c47fc82d858b62fff42f6971bb92 (patch) | |
tree | f17bf1392686a27ab6e677af59bcaa384ca34536 /tests | |
parent | 12dcc0bf58306bdf6f22d7079f539c4dd1028a3c (diff) | |
parent | 81c6c24cd5995addd5407ff7ca4d886c7f931b32 (diff) | |
download | nextcloud-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.php | 2 |
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); |