diff --git a/cake/tests/cases/libs/sanitize.test.php b/cake/tests/cases/libs/sanitize.test.php index de264d192..f8118c0ac 100644 --- a/cake/tests/cases/libs/sanitize.test.php +++ b/cake/tests/cases/libs/sanitize.test.php @@ -28,11 +28,15 @@ */ App::import('Core', 'Sanitize'); -class DataTest extends CakeTestModel { - var $name = 'DataTest'; +if (!class_exists('DataTest')) { + class DataTest extends CakeTestModel { + var $name = 'DataTest'; + } } -class Article extends CakeTestModel { - var $name = 'Article'; +if (!class_exists('Article')) { + class Article extends CakeTestModel { + var $name = 'Article'; + } } /** * Short description for class.