X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fsecurity%2FSessionManagerTest.php;h=3f9c3ef59fd2138faeb95fe07b715890a0f09ab4;hb=a5a9cf23acd1248585173aa32757d9720b5f2d62;hp=11a59f9c6e06b846623f02d465206220b807f085;hpb=0a286f6946f6e13c865cd80b2c347725b88821d0;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/security/SessionManagerTest.php b/tests/security/SessionManagerTest.php index 11a59f9c..3f9c3ef5 100644 --- a/tests/security/SessionManagerTest.php +++ b/tests/security/SessionManagerTest.php @@ -2,7 +2,7 @@ namespace Shaarli\Security; -use PHPUnit\Framework\TestCase; +use Shaarli\TestCase; /** * Test coverage for SessionManager @@ -24,7 +24,7 @@ class SessionManagerTest extends TestCase /** * Assign reference data */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { self::$sidHashes = \ReferenceSessionIdHashes::getHashes(); } @@ -32,7 +32,7 @@ class SessionManagerTest extends TestCase /** * Initialize or reset test resources */ - public function setUp() + protected function setUp(): void { $this->conf = new \FakeConfigManager([ 'credentials.login' => 'johndoe',