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 269c81e commit 5fcd4d0
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,10 +2,10 @@

use Phpfastcache\Drivers\Solr\Config as SolrConfig;

return (fn(SolrConfig $config) => $config->setItemDetailedDate(true)
return (new SolrConfig())
->setItemDetailedDate(true)
->setCoreName('phpfastcache')
->setPort(8983)
->setHost('127.0.0.1')
->setPath('/')
->setScheme('http')
)(new SolrConfig());
->setScheme('http');

0 comments on commit 5fcd4d0

Please sign in to comment.