From 35ce49b41e2209d502b038ef73386cbf7bfa5f35 Mon Sep 17 00:00:00 2001 From: DarkAngelBGE Date: Tue, 13 May 2008 12:26:30 +0000 Subject: [PATCH] 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 --- cake/tests/cases/libs/sanitize.test.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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.