Skip to content

Commit 1fd8801

Browse files
committed
(finally) make tests PHP 5.3 compatible again
1 parent e60ef9f commit 1fd8801

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/Unit/Repository/StatementRepositoryTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ protected function createMappedStatementRepositoryMock()
117117
return $this->getMock('\Xabbuh\XApi\Storage\Doctrine\Repository\MappedStatementRepository');
118118
}
119119

120-
private function assertMappedStatement(MappedStatement $expected, MappedStatement $actual)
120+
/**
121+
* Ths method is only public to support PHP 5.3.
122+
*/
123+
public function assertMappedStatement(MappedStatement $expected, MappedStatement $actual)
121124
{
122125
if ($expected->id !== $actual->id) {
123126
return false;

0 commit comments

Comments
 (0)