mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing cache engine tests
This commit is contained in:
parent
eb709123a8
commit
b286ff0523
4 changed files with 9 additions and 13 deletions
5
lib/Cake/tests/cases/libs/cache/apc.test.php
vendored
5
lib/Cake/tests/cases/libs/cache/apc.test.php
vendored
|
@ -16,9 +16,8 @@
|
|||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
if (!class_exists('Cache')) {
|
||||
require LIBS . 'cache.php';
|
||||
}
|
||||
|
||||
App::uses('Cache', 'Cache');
|
||||
|
||||
/**
|
||||
* ApcEngineTest class
|
||||
|
|
|
@ -16,9 +16,8 @@
|
|||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
if (!class_exists('Cache')) {
|
||||
require LIBS . 'cache.php';
|
||||
}
|
||||
|
||||
App::uses('Cache', 'Cache');
|
||||
|
||||
/**
|
||||
* FileEngineTest class
|
||||
|
|
|
@ -16,10 +16,9 @@
|
|||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
if (!class_exists('Cache')) {
|
||||
require LIBS . 'cache.php';
|
||||
}
|
||||
require_once LIBS . 'cache' . DS . 'memcache.php';
|
||||
|
||||
App::uses('Cache', 'Cache');
|
||||
App::uses('MemcacheEngine', 'Cache/Engine');
|
||||
|
||||
class TestMemcacheEngine extends MemcacheEngine {
|
||||
/**
|
||||
|
|
|
@ -16,9 +16,8 @@
|
|||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
if (!class_exists('Cache')) {
|
||||
require LIBS . 'cache.php';
|
||||
}
|
||||
|
||||
App::uses('Cache', 'Cache');
|
||||
|
||||
/**
|
||||
* XcacheEngineTest class
|
||||
|
|
Loading…
Reference in a new issue