diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-27 19:42:00 +0200 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2024-08-30 14:48:23 +0200 |
commit | 6ea52ed21843976b0d71fa9a24b473a3629b49c1 (patch) | |
tree | af5c5de96bde0d3ce5d3b976d9cdca305bc40e40 /tests | |
parent | 5b852f863a23c0f5d1bc4de0dd5f6c49898165b6 (diff) | |
download | nextcloud-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.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); |