mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added public access to public method in CakeTestFixture
This commit is contained in:
parent
4cb06d83ea
commit
2e3d45c3de
1 changed files with 1 additions and 4 deletions
|
@ -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 @@ class CakeTestFixture extends Object {
|
|||
* 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),
|
||||
|
|
Loading…
Reference in a new issue