diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-04 14:03:47 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-09 10:38:38 +0100 |
commit | 3623f14e73046a51953872fe49853bc200ac736d (patch) | |
tree | c23a3311c6c0868be2cc43742186309e27534b6a /tests/lib | |
parent | 2367797c17aafe0f0570477ff653894f3033e97c (diff) | |
download | nextcloud-server-3623f14e73046a51953872fe49853bc200ac736d.tar.gz nextcloud-server-3623f14e73046a51953872fe49853bc200ac736d.zip |
no translation service in common storage class
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/files/pathverificationtest.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/lib/files/pathverificationtest.php b/tests/lib/files/pathverificationtest.php index fafc98cc3cc..1a802a48f57 100644 --- a/tests/lib/files/pathverificationtest.php +++ b/tests/lib/files/pathverificationtest.php @@ -78,8 +78,7 @@ class PathVerification extends \Test\TestCase { /** * @dataProvider providesInvalidCharsWindows - * @expectedException \OCP\Files\InvalidPathException - * @expectedExceptionMessage File name contains at least one invalid characters + * @expectedException \OCP\Files\InvalidCharacterInPathException */ public function testPathVerificationInvalidCharsWindows($fileName) { $storage = new Local(['datadir' => '']); @@ -136,8 +135,7 @@ class PathVerification extends \Test\TestCase { /** * @dataProvider providesInvalidCharsPosix - * @expectedException \OCP\Files\InvalidPathException - * @expectedExceptionMessage File name contains at least one invalid characters + * @expectedException \OCP\Files\InvalidCharacterInPathException */ public function testPathVerificationInvalidCharsPosix($fileName) { $storage = new Local(['datadir' => '']); @@ -187,8 +185,7 @@ class PathVerification extends \Test\TestCase { /** * @dataProvider providesReservedNamesWindows - * @expectedException \OCP\Files\InvalidPathException - * @expectedExceptionMessage File name is a reserved word + * @expectedException \OCP\Files\ReservedWordException */ public function testPathVerificationReservedNamesWindows($fileName) { $storage = new Local(['datadir' => '']); |