summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Andres Charsley <[email protected]>2014-01-12 21:39:57 +1300
committerSimon Holywell <[email protected]>2014-04-26 13:27:54 +0100
commitc0de212c57b9c7b5266e7e1009af267b00b53387 (patch)
tree4c989344660520ef4db015962045e26463a34eaf /test
parent211fe4d960e465d01dc80eed7c4168c11bca6cbd (diff)
FIX: Added parameter array checking
Added some more debug code.
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 90d38c4..324a511 100644
--- a/test/bootstrap.php
+++ b/test/bootstrap.php
@@ -31,7 +31,7 @@ class MockPDOStatement extends PDOStatement {
ob_start();
var_dump($m, $params);
$output = ob_get_clean();
- throw new Exception('Incorrect parameter count. Expected ' . $count . ' got ' . count($params) . '.\n' . $output);
+ throw new Exception('Incorrect parameter count. Expected ' . $count . ' got ' . count($params) . ".\n" . $this->statement . "\n" . $output);
}
}
}