summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2013-08-30 11:03:50 +0100
committerSimon Holywell <[email protected]>2013-08-30 11:03:50 +0100
commit98a3f0b713cad892ed59abd977aa40d4938f5656 (patch)
tree5260c7db48dc8ea888a3d5ded7c4f67f10a9ff04 /test
parent42d8715e3bd20372670cb590c86caf7e79655bcf (diff)
Repair mock results generator
Diffstat (limited to 'test')
-rw-r--r--test/bootstrap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bootstrap.php b/test/bootstrap.php
index 41d9026..c64d5a6 100644
--- a/test/bootstrap.php
+++ b/test/bootstrap.php
@@ -21,7 +21,7 @@ class MockPDOStatement extends PDOStatement {
return false;
} else {
$this->current_row++;
- return array('name' => 'Fred', 'age' => 10, 'id' => '1');
+ return array('name' => 'Fred', 'age' => 10, 'id' => $this->current_row);
}
}
}