Skip to content

Commit

Permalink
Simplified test config object
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolim4 committed Jan 7, 2024
1 parent f42266f commit 3ae5f8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Configs/github-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 3ae5f8a

Please sign in to comment.