aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-27 19:42:00 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2024-08-30 14:48:23 +0200
commit6ea52ed21843976b0d71fa9a24b473a3629b49c1 (patch)
treeaf5c5de96bde0d3ce5d3b976d9cdca305bc40e40 /tests
parent5b852f863a23c0f5d1bc4de0dd5f6c49898165b6 (diff)
downloadnextcloud-server-6ea52ed21843976b0d71fa9a24b473a3629b49c1.tar.gz
nextcloud-server-6ea52ed21843976b0d71fa9a24b473a3629b49c1.zip
fix: Adjust filename validation messages
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
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);