aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-12-03 00:59:21 +0100
committerVirtualTam <virtualtam@flibidi.net>2019-01-12 22:47:48 +0100
commita0c4dbd91c41b9ecdd5176c1ac33b55e240d2392 (patch)
tree6a3e2e1b07b9ce9af42fae3fd8f66e9639a1e73a /tests
parent8c0f19c7971e1a4534347ce9d6d82a0a45799711 (diff)
downloadShaarli-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.php6
-rw-r--r--tests/HistoryTest.php1
-rw-r--r--tests/utils/ReferenceHistory.php1
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
3use Shaarli\Exceptions\IOException; 3namespace Shaarli;
4 4
5require_once 'application/FileUtils.php'; 5use 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 */
12class FileUtilsTest extends PHPUnit_Framework_TestCase 12class 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
5use DateTime; 5use DateTime;
6use Exception; 6use Exception;
7use FileUtils;
8 7
9class HistoryTest extends \PHPUnit\Framework\TestCase 8class 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
3use Shaarli\FileUtils;
3use Shaarli\History; 4use Shaarli\History;
4 5
5/** 6/**