namespace Shaarli\Security;
-use PHPUnit\Framework\TestCase;
+use Shaarli\FakeConfigManager;
+use Shaarli\TestCase;
/**
* Test coverage for SessionManager
/** @var array Session ID hashes */
protected static $sidHashes = null;
- /** @var \FakeConfigManager ConfigManager substitute for testing */
+ /** @var FakeConfigManager ConfigManager substitute for testing */
protected $conf = null;
/** @var array $_SESSION array for testing */
*/
protected function setUp(): void
{
- $this->conf = new \FakeConfigManager([
+ $this->conf = new FakeConfigManager([
'credentials.login' => 'johndoe',
'credentials.salt' => 'salt',
'security.session_protection_disabled' => false,