diff options
author | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 23:55:38 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-13 00:04:42 +0100 |
commit | dea72c711ff740b3b829d238fcf85648465143a0 (patch) | |
tree | 5e926e36816d510e3b3a10e20b94c23f43b55092 /tests/security | |
parent | a43e7842e44068584302ec1d6349155b571d9c96 (diff) | |
download | Shaarli-dea72c711ff740b3b829d238fcf85648465143a0.tar.gz Shaarli-dea72c711ff740b3b829d238fcf85648465143a0.tar.zst Shaarli-dea72c711ff740b3b829d238fcf85648465143a0.zip |
Optimize and cleanup imports
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/security')
-rw-r--r-- | tests/security/LoginManagerTest.php | 3 | ||||
-rw-r--r-- | tests/security/SessionManagerTest.php | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/security/LoginManagerTest.php b/tests/security/LoginManagerTest.php index f26cd1eb..de8055ed 100644 --- a/tests/security/LoginManagerTest.php +++ b/tests/security/LoginManagerTest.php | |||
@@ -2,7 +2,8 @@ | |||
2 | namespace Shaarli\Security; | 2 | namespace Shaarli\Security; |
3 | 3 | ||
4 | require_once 'tests/utils/FakeConfigManager.php'; | 4 | require_once 'tests/utils/FakeConfigManager.php'; |
5 | use \PHPUnit\Framework\TestCase; | 5 | |
6 | use PHPUnit\Framework\TestCase; | ||
6 | 7 | ||
7 | /** | 8 | /** |
8 | * Test coverage for LoginManager | 9 | * Test coverage for LoginManager |
diff --git a/tests/security/SessionManagerTest.php b/tests/security/SessionManagerTest.php index 7961e771..f264505e 100644 --- a/tests/security/SessionManagerTest.php +++ b/tests/security/SessionManagerTest.php | |||
@@ -5,8 +5,8 @@ require_once 'tests/utils/FakeConfigManager.php'; | |||
5 | require_once 'tests/utils/ReferenceSessionIdHashes.php'; | 5 | require_once 'tests/utils/ReferenceSessionIdHashes.php'; |
6 | ReferenceSessionIdHashes::genAllHashes(); | 6 | ReferenceSessionIdHashes::genAllHashes(); |
7 | 7 | ||
8 | use \Shaarli\Security\SessionManager; | 8 | use PHPUnit\Framework\TestCase; |
9 | use \PHPUnit\Framework\TestCase; | 9 | use Shaarli\Security\SessionManager; |
10 | 10 | ||
11 | /** | 11 | /** |
12 | * Test coverage for SessionManager | 12 | * Test coverage for SessionManager |