diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-03 00:59:21 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 22:47:48 +0100 |
commit | a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392 (patch) | |
tree | 6a3e2e1b07b9ce9af42fae3fd8f66e9639a1e73a /tests | |
parent | 8c0f19c7971e1a4534347ce9d6d82a0a45799711 (diff) | |
download | Shaarli-a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392.tar.gz Shaarli-a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392.tar.zst Shaarli-a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392.zip |
namespacing: \Shaarli\FileUtils
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/FileUtilsTest.php | 6 | ||||
-rw-r--r-- | tests/HistoryTest.php | 1 | ||||
-rw-r--r-- | tests/utils/ReferenceHistory.php | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/FileUtilsTest.php b/tests/FileUtilsTest.php index 9596dba9..57719175 100644 --- a/tests/FileUtilsTest.php +++ b/tests/FileUtilsTest.php | |||
@@ -1,15 +1,15 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Shaarli\Exceptions\IOException; | 3 | namespace Shaarli; |
4 | 4 | ||
5 | require_once 'application/FileUtils.php'; | 5 | use Exception; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Class FileUtilsTest | 8 | * Class FileUtilsTest |
9 | * | 9 | * |
10 | * Test file utility class. | 10 | * Test file utility class. |
11 | */ | 11 | */ |
12 | class FileUtilsTest extends PHPUnit_Framework_TestCase | 12 | class FileUtilsTest extends \PHPUnit\Framework\TestCase |
13 | { | 13 | { |
14 | /** | 14 | /** |
15 | * @var string Test file path. | 15 | * @var string Test file path. |
diff --git a/tests/HistoryTest.php b/tests/HistoryTest.php index 7723c461..8303e53a 100644 --- a/tests/HistoryTest.php +++ b/tests/HistoryTest.php | |||
@@ -4,7 +4,6 @@ namespace Shaarli; | |||
4 | 4 | ||
5 | use DateTime; | 5 | use DateTime; |
6 | use Exception; | 6 | use Exception; |
7 | use FileUtils; | ||
8 | 7 | ||
9 | class HistoryTest extends \PHPUnit\Framework\TestCase | 8 | class HistoryTest extends \PHPUnit\Framework\TestCase |
10 | { | 9 | { |
diff --git a/tests/utils/ReferenceHistory.php b/tests/utils/ReferenceHistory.php index f19cdf2f..e411c417 100644 --- a/tests/utils/ReferenceHistory.php +++ b/tests/utils/ReferenceHistory.php | |||
@@ -1,5 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Shaarli\FileUtils; | ||
3 | use Shaarli\History; | 4 | use Shaarli\History; |
4 | 5 | ||
5 | /** | 6 | /** |