We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f22cb43 commit 8858ee2Copy full SHA for 8858ee2
tests/bootstrap.php
@@ -38,11 +38,14 @@
38
(new SchemaLoader())->loadInternalFile(__DIR__ . DS . 'schema.php');
39
40
// @todo: Remove when support for CakePHP 5.0 is dropped
41
-Cache::setConfig([
42
- '_cake_core_' => [
43
- 'engine' => 'File',
44
- 'prefix' => 'cake_core_',
45
- 'serialize' => true,
46
- 'path' => CACHE,
47
- ],
48
-]);
+if (!Cache::getConfig('_cake_core_')) {
+ Cache::setConfig([
+ '_cake_core_' => [
+ 'engine' => 'File',
+ 'prefix' => 'cake_core_',
+ 'serialize' => true,
+ 'path' => CACHE,
+ ],
49
+ ]);
50
+}
51
+
0 commit comments