diff --git a/test/tools/ModelMaker_Data_Test.php b/test/tools/ModelMaker_Data_Test.php index 4cee464..c0c20eb 100644 --- a/test/tools/ModelMaker_Data_Test.php +++ b/test/tools/ModelMaker_Data_Test.php @@ -45,7 +45,7 @@ public function testWriteModelAsString_OK() class ModelTestModel extends Model { - public function __constructor(\PDO \$pdo) + public function __construct(\PDO \$pdo) { parent::__construct(\$pdo, DataMapper::createByClass(\$pdo, \$this)); \$this->_mapper->modelPrimaryKey = 'someId'; diff --git a/test/tools/ModelMaker_Test.php b/test/tools/ModelMaker_Test.php index 93c2979..ced57d1 100644 --- a/test/tools/ModelMaker_Test.php +++ b/test/tools/ModelMaker_Test.php @@ -55,7 +55,7 @@ public function testWriteModelAsString_OK() class SomeTableModel extends Model { - public function __constructor(\PDO \$pdo) + public function __construct(\PDO \$pdo) { parent::__construct(\$pdo, DataMapper::createByClass(\$pdo, \$this)); @@ -118,7 +118,7 @@ public function testWriteModelAsFile_OK() class SomeTableModel extends Model { - public function __constructor(\PDO \$pdo) + public function __construct(\PDO \$pdo) { parent::__construct(\$pdo, DataMapper::createByClass(\$pdo, \$this)); @@ -157,7 +157,7 @@ public function testWriteModelAsFile_WithForce_OK() class SomeTableModel extends Model { - public function __constructor(\PDO \$pdo) + public function __construct(\PDO \$pdo) { parent::__construct(\$pdo, DataMapper::createByClass(\$pdo, \$this));