diff options
author | ArthurHoaro <arthur.hoareau@wizacha.com> | 2020-07-07 10:15:56 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | c4ad3d4f061d05a01db25aa54dda830ba776792d (patch) | |
tree | 691d91a5b0bbac62cee41f7b95ad1daa38d610b3 /tests/render | |
parent | 1a8ac737e52cb25a5c346232ee398f5908cee7d7 (diff) | |
download | Shaarli-c4ad3d4f061d05a01db25aa54dda830ba776792d.tar.gz Shaarli-c4ad3d4f061d05a01db25aa54dda830ba776792d.tar.zst Shaarli-c4ad3d4f061d05a01db25aa54dda830ba776792d.zip |
Process Shaarli install through Slim controller
Diffstat (limited to 'tests/render')
-rw-r--r-- | tests/render/PageCacheManagerTest.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/render/PageCacheManagerTest.php b/tests/render/PageCacheManagerTest.php index b870e6eb..c258f45f 100644 --- a/tests/render/PageCacheManagerTest.php +++ b/tests/render/PageCacheManagerTest.php | |||
@@ -1,15 +1,14 @@ | |||
1 | <?php | 1 | <?php |
2 | |||
2 | /** | 3 | /** |
3 | * Cache tests | 4 | * Cache tests |
4 | */ | 5 | */ |
6 | |||
5 | namespace Shaarli\Render; | 7 | namespace Shaarli\Render; |
6 | 8 | ||
7 | use PHPUnit\Framework\TestCase; | 9 | use PHPUnit\Framework\TestCase; |
8 | use Shaarli\Security\SessionManager; | 10 | use Shaarli\Security\SessionManager; |
9 | 11 | ||
10 | // required to access $_SESSION array | ||
11 | session_start(); | ||
12 | |||
13 | /** | 12 | /** |
14 | * Unitary tests for cached pages | 13 | * Unitary tests for cached pages |
15 | */ | 14 | */ |