]> git.mxchange.org Git - friendica.git/commitdiff
Fix CI with Session
authorPhilipp <admin@philipp.info>
Sat, 22 Oct 2022 18:03:15 +0000 (20:03 +0200)
committerPhilipp <admin@philipp.info>
Sat, 22 Oct 2022 18:03:15 +0000 (20:03 +0200)
tests/FixtureTest.php

index 6f93436b71bee7a96de1107544348caf67d768eb..db23aae61b18ab09f82f0f0b45632b7a79837a6b 100644 (file)
@@ -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'       => [