Skip to content

Commit

Permalink
Added public access to public method in CakeTestFixture
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Apr 11, 2010
1 parent 4cb06d8 commit 2e3d45c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cake/tests/lib/cake_test_fixture.php
Expand Up @@ -52,18 +52,15 @@ class CakeTestFixture extends Object {
public function __construct() {
App::import('Model', 'CakeSchema');
$this->Schema = new CakeSchema(array('name' => 'TestSuite', 'connection' => 'test_suite'));

$this->init();
}

/**
* 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),
Expand Down

0 comments on commit 2e3d45c

Please sign in to comment.