mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
fizing sanitize.test.php breaking the all core tests group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6841 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
ba0a563fe7
commit
35ce49b41e
1 changed files with 8 additions and 4 deletions
|
@ -28,12 +28,16 @@
|
||||||
*/
|
*/
|
||||||
App::import('Core', 'Sanitize');
|
App::import('Core', 'Sanitize');
|
||||||
|
|
||||||
|
if (!class_exists('DataTest')) {
|
||||||
class DataTest extends CakeTestModel {
|
class DataTest extends CakeTestModel {
|
||||||
var $name = 'DataTest';
|
var $name = 'DataTest';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if (!class_exists('Article')) {
|
||||||
class Article extends CakeTestModel {
|
class Article extends CakeTestModel {
|
||||||
var $name = 'Article';
|
var $name = 'Article';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Short description for class.
|
* Short description for class.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue