From 8b4b6da1a5762747c219cfcf4947b06cbe764103 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 7 Dec 2005 22:51:53 +0000 Subject: --- tests/UnitTests/framework/common.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/UnitTests/framework/common.php') diff --git a/tests/UnitTests/framework/common.php b/tests/UnitTests/framework/common.php index 9f52ce41..9b7b1b37 100644 --- a/tests/UnitTests/framework/common.php +++ b/tests/UnitTests/framework/common.php @@ -50,13 +50,14 @@ class PradoUnitTestCase extends UnitTestCase { } + /** * Generate a class called MockTApplication to mock the TApplication class * for the purpose of testing IModule objects. */ __autoload("TApplication"); Mock::generate("TApplication"); - + /** * ModuleTestCase class. * @@ -75,7 +76,7 @@ class ModuleTestCase extends PradoUnitTestCase { public function __construct() { $file = ""; - $tihs->mockApplication =& new MockTApplication($file); + $tihs->mockApplication = new MockTApplication($file); } public function testGetSetID() { @@ -103,5 +104,4 @@ class ModuleTestCase extends PradoUnitTestCase { } } - ?> \ No newline at end of file -- cgit v1.2.3