Disable db memory cache for tests

Refs https://github.com/octobercms/library/pull/253
This commit is contained in:
Samuel Georges 2017-02-15 08:12:25 +11:00
parent d9a2b88852
commit d0d45f839c
2 changed files with 14 additions and 1 deletions

View File

@ -329,7 +329,6 @@ return [
'forceBytecodeInvalidation' => true,
/*
|--------------------------------------------------------------------------
| Duplicate database query cache

View File

@ -109,4 +109,18 @@ return [
'themesPathLocal' => base_path('tests/fixtures/themes'),
/*
|--------------------------------------------------------------------------
| Duplicate database query cache
|--------------------------------------------------------------------------
|
| If the caching is enabled, database queries with identical statements will
| have the results stored in memory across the same request. This increases
| performance for smaller more frequent queries but may lower performance
| for queries that return a large number of records.
|
*/
'enableDuplicateQueryCache' => false,
];