From d3e3a84cae9c8926bcff810a0e16bb9dcd024888 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 3 Jun 2015 12:03:02 +0200 Subject: Move the helpful method to the TestCase class --- tests/lib/files/pathverificationtest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/lib/files/pathverificationtest.php') diff --git a/tests/lib/files/pathverificationtest.php b/tests/lib/files/pathverificationtest.php index 65342c7799e..b59aceba7b1 100644 --- a/tests/lib/files/pathverificationtest.php +++ b/tests/lib/files/pathverificationtest.php @@ -94,7 +94,7 @@ class PathVerification extends \Test\TestCase { $storage = new Local(['datadir' => '']); $fileName = " 123{$fileName}456 "; - \Test_Helper::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); + self::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); } public function providesInvalidCharsWindows() { @@ -151,7 +151,7 @@ class PathVerification extends \Test\TestCase { $storage = new Local(['datadir' => '']); $fileName = " 123{$fileName}456 "; - \Test_Helper::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); + self::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); } public function providesInvalidCharsPosix() { @@ -200,7 +200,7 @@ class PathVerification extends \Test\TestCase { public function testPathVerificationReservedNamesWindows($fileName) { $storage = new Local(['datadir' => '']); - \Test_Helper::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); + self::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); } public function providesReservedNamesWindows() { @@ -236,8 +236,8 @@ class PathVerification extends \Test\TestCase { public function testPathVerificationValidPaths($fileName) { $storage = new Local(['datadir' => '']); - \Test_Helper::invokePrivate($storage, 'verifyPosixPath', [$fileName]); - \Test_Helper::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); + self::invokePrivate($storage, 'verifyPosixPath', [$fileName]); + self::invokePrivate($storage, 'verifyWindowsPath', [$fileName]); // nothing thrown $this->assertTrue(true); } -- cgit v1.2.3 ='master' selected='selected'>master Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/app/views/common/_tabs.html.erb
blob: 1b880c9c7e53ade964ce846ca7aa7409b0559fb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21