diff options
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 | /** |