From 2e3d45c3de627e9a5b777de59578c48b9ccc25ef Mon Sep 17 00:00:00 2001 From: predominant Date: Sun, 11 Apr 2010 15:22:25 +1000 Subject: [PATCH] Added public access to public method in CakeTestFixture --- cake/tests/lib/cake_test_fixture.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cake/tests/lib/cake_test_fixture.php b/cake/tests/lib/cake_test_fixture.php index ade7346608c..5c2c7170f5f 100644 --- a/cake/tests/lib/cake_test_fixture.php +++ b/cake/tests/lib/cake_test_fixture.php @@ -52,7 +52,6 @@ class CakeTestFixture extends Object { public function __construct() { App::import('Model', 'CakeSchema'); $this->Schema = new CakeSchema(array('name' => 'TestSuite', 'connection' => 'test_suite')); - $this->init(); } @@ -60,10 +59,8 @@ public function __construct() { * Initialize the fixture. * * @param object Cake's DBO driver (e.g: DboMysql). - * @access public - * */ - function init() { + public function init() { if (isset($this->import) && (is_string($this->import) || is_array($this->import))) { $import = array_merge( array('connection' => 'default', 'records' => false),