summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2013-08-30 11:30:04 +0100
committerSimon Holywell <[email protected]>2013-08-30 11:30:04 +0100
commit1f1f3bf79d75f126845db2744b78be404c2abd08 (patch)
tree5b9429ba48f2d5bfd7a5523a568c31f878261c9b /test
parent98a3f0b713cad892ed59abd977aa40d4938f5656 (diff)
Minor improvement to test/bootstrap.php
Diffstat (limited to 'test')
-rw-r--r--test/bootstrap.php3
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);
}
}
}