From 3623f14e73046a51953872fe49853bc200ac736d Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Wed, 4 Mar 2015 14:03:47 +0100 Subject: no translation service in common storage class --- tests/lib/files/pathverificationtest.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'tests/lib/files/pathverificationtest.php') 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' => '']); -- cgit v1.2.3