diff --git a/test/bootstrap.php b/test/bootstrap.php index c64d5a61..0e489bd3 100644 --- a/test/bootstrap.php +++ b/test/bootstrap.php @@ -20,8 +20,7 @@ public function fetch($fetch_style=PDO::FETCH_BOTH, $cursor_orientation=PDO::FET 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); } } }