Skip to content

Commit

Permalink
Merge pull request #717 from Elnadrion/fix/cache-config
Browse files Browse the repository at this point in the history
Change default cache variable
  • Loading branch information
rubenvanassche authored Apr 4, 2024
2 parents b4d3400 + 15c1fbe commit b3a6840
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
'enabled' => true,
'directories' => [app_path('Data')],
'cache' => [
'store' => env('CACHE_DRIVER', 'file'),
'store' => env('CACHE_STORE', env('CACHE_DRIVER', 'file')),
'prefix' => 'laravel-data',
'duration' => null,
],
Expand Down
2 changes: 1 addition & 1 deletion docs/installation-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ return [
'enabled' => true,
'directories' => [app_path('Data')],
'cache' => [
'store' => env('CACHE_DRIVER', 'file'),
'store' => env('CACHE_STORE', 'file'),
'prefix' => 'laravel-data',
],
'reflection_discovery' => [
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<env name="CACHE_DRIVER" value="array"/>
<env name="CACHE_STORE" value="array"/>
</php>
</phpunit>

0 comments on commit b3a6840

Please sign in to comment.