From c3df5703246dc32cb90006820fcecc43437d9704 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 22 Oct 2022 20:03:15 +0200 Subject: [PATCH] Fix CI with Session --- tests/FixtureTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/FixtureTest.php b/tests/FixtureTest.php index 6f93436b71..db23aae61b 100644 --- a/tests/FixtureTest.php +++ b/tests/FixtureTest.php @@ -28,6 +28,7 @@ use Friendica\App\Router; use Friendica\Core\Config\ValueObject\Cache; use Friendica\Core\Config\Capability\IManageConfigValues; use Friendica\Core\Session\Capability\IHandleSessions; +use Friendica\Core\Session\Type\Memory; use Friendica\Database\Database; use Friendica\Database\DBStructure; use Friendica\DI; @@ -54,7 +55,7 @@ abstract class FixtureTest extends DatabaseTest $this->dice = (new Dice()) ->addRules(include __DIR__ . '/../static/dependencies.config.php') ->addRule(Database::class, ['instanceOf' => StaticDatabase::class, 'shared' => true]) - ->addRule(IHandleSessions::class, ['instanceOf' => Session\Type\Memory::class, 'shared' => true, 'call' => null]) + ->addRule(IHandleSessions::class, ['instanceOf' => Memory::class, 'shared' => true, 'call' => null]) ->addRule(Arguments::class, [ 'instanceOf' => Arguments::class, 'call' => [ -- 2.39.5