Commit 3abb3ea2 authored by chris rehfeld's avatar chris rehfeld Committed by Steve Müller

more compat with php 5.3

parent 43f0bc20
...@@ -98,8 +98,8 @@ class DoctrineDb2v10AdaptorTest extends PHPUnit_Framework_TestCase { ...@@ -98,8 +98,8 @@ class DoctrineDb2v10AdaptorTest extends PHPUnit_Framework_TestCase {
private function checkRowsMatchForTable($tbl) private function checkRowsMatchForTable($tbl)
{ {
// run each query and fetch the rows they produce // run each query and fetch the rows they produce
$oldRows = $this->fetchall($this->oldSql, [$tbl], $this->conn); $oldRows = $this->fetchall($this->oldSql, array($tbl), $this->conn);
$newRows = $this->fetchall($this->newSql, [$tbl], $this->conn); $newRows = $this->fetchall($this->newSql, array($tbl), $this->conn);
// compare the num of rows // compare the num of rows
$this->assertEquals(count($oldRows), count($newRows)); $this->assertEquals(count($oldRows), count($newRows));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment