X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fsecurity%2FSessionManagerTest.php;h=27e3b1a9830830612fa58a83556660d3948189a7;hb=c3fca560b624588d37508142ab73573caf467573;hp=11a59f9c6e06b846623f02d465206220b807f085;hpb=9e6371a6fd2e581790c93a04e0cb2699b8aa0911;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/security/SessionManagerTest.php b/tests/security/SessionManagerTest.php index 11a59f9c..27e3b1a9 100644 --- a/tests/security/SessionManagerTest.php +++ b/tests/security/SessionManagerTest.php @@ -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',