Skip to content

Commit 3ae5f8a

Browse files
committed
Simplified test config object
1 parent f42266f commit 3ae5f8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Configs/github-actions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
use Phpfastcache\Drivers\Arangodb\Config as ArangodbConfig;
44

5-
return (fn(ArangodbConfig $config) => $config->setItemDetailedDate(true)
5+
return (new ArangodbConfig())
66
/*
77
$config->setTraceFunction(\Closure::fromCallable(static function ($type, $data) use ($testHelper){
88
$testHelper->printDebugText(sprintf('Trace for %s: %s', strtoupper($type), $data));
99
}));
1010
*/
11+
->setItemDetailedDate(true)
1112
->setCollection('phpfastcache')
1213
->setAuthUser('phpfastcache')
1314
->setAuthPasswd('travis')
1415
->setDatabase('phpfastcache')
1516
->setConnectTimeout(5)
16-
->setAutoCreate(true)
17-
)(new ArangodbConfig());
17+
->setAutoCreate(true);

0 commit comments

Comments
 (0)