Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cambell-prince committed Dec 2, 2018
1 parent cb739ad commit 99e7cab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/tools/ModelMaker_Data_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
6 changes: 3 additions & 3 deletions test/tools/ModelMaker_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down Expand Up @@ -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));

Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit 99e7cab

Please sign in to comment.