Skip to content

Commit

Permalink
Updated github-actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolim4 committed Jan 7, 2024
1 parent 70dceff commit b8f4a38
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions tests/Configs/github-actions.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?php
return [
'username' => 'test',
'password' => 'phpfastcache',
'servers' => ['127.0.0.1'],
'bucketName' => 'phpfastcache',
'scopeName' => '_default',
'collectionName' => '_default'
];
use Phpfastcache\Drivers\Couchbasev4\Config as Couchbasev4Config;

return (static fn(Couchbasev4Config $config) => $config->setItemDetailedDate(true)
->setUsername('test')
->setPassword('phpfastcache')
->setServers(['127.0.0.1'])
->setBucketName('phpfastcache')
->setScopeName('_default')
->setCollectionName('collectionName')
)(new Couchbasev4Config());
2 changes: 1 addition & 1 deletion tests/Couchbasev4.test.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

$testHelper->printInfoText('Running forking failure process test');

$config = (new CouchbaseConfig(include $configFileName))
$config = (include $configFileName)
->setDoForkDetection(false)
->setUseStaticItemCaching(false);

Expand Down

0 comments on commit b8f4a38

Please sign in to comment.