diff --git a/tests/Configs/github-actions.php b/tests/Configs/github-actions.php index 663519d..2e1ae9f 100644 --- a/tests/Configs/github-actions.php +++ b/tests/Configs/github-actions.php @@ -2,16 +2,16 @@ use Phpfastcache\Drivers\Arangodb\Config as ArangodbConfig; -return (fn(ArangodbConfig $config) => $config->setItemDetailedDate(true) +return (new ArangodbConfig()) /* $config->setTraceFunction(\Closure::fromCallable(static function ($type, $data) use ($testHelper){ $testHelper->printDebugText(sprintf('Trace for %s: %s', strtoupper($type), $data)); })); */ + ->setItemDetailedDate(true) ->setCollection('phpfastcache') ->setAuthUser('phpfastcache') ->setAuthPasswd('travis') ->setDatabase('phpfastcache') ->setConnectTimeout(5) - ->setAutoCreate(true) -)(new ArangodbConfig()); + ->setAutoCreate(true);