diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/bootstrap.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/bootstrap.php b/test/bootstrap.php index c64d5a6..0e489bd 100644 --- a/test/bootstrap.php +++ b/test/bootstrap.php @@ -20,8 +20,7 @@ class MockPDOStatement extends PDOStatement { if ($this->current_row == 5) { return false; } else { - $this->current_row++; - return array('name' => 'Fred', 'age' => 10, 'id' => $this->current_row); + return array('name' => 'Fred', 'age' => 10, 'id' => ++$this->current_row); } } } |