cvs: pear /MDB/tests MDB_usage_testcase.php
| From: | Lukas Smith | Date: | Mon, 07 Feb 2005 10:46:25 +0000 |
| Subject: | cvs: pear /MDB/tests MDB_usage_testcase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29163@lists.php.net to get a copy of this message | ||
lsmith Mon Feb 7 05:46:25 2005 EDT
Modified files:
/pear/MDB/tests MDB_usage_testcase.php
Log:
- fixed call to fetchInto() inside verify row helper function
http://cvs.php.net/diff.php/pear/MDB/tests/MDB_usage_testcase.php?r1=1.53&r2=1.54&ty=u
Index: pear/MDB/tests/MDB_usage_testcase.php
diff -u pear/MDB/tests/MDB_usage_testcase.php:1.53 pear/MDB/tests/MDB_usage_testcase.php:1.54
--- pear/MDB/tests/MDB_usage_testcase.php:1.53 Fri Oct 1 16:43:57 2004
+++ pear/MDB/tests/MDB_usage_testcase.php Mon Feb 7 05:46:24 2005
@@ -41,7 +41,7 @@
// | Author: Paul Cooper <pgc@ucecom.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB_usage_testcase.php,v 1.53 2004/10/01 20:43:57 lsmith Exp $
+// $Id: MDB_usage_testcase.php,v 1.54 2005/02/07 10:46:24 lsmith Exp $
class MDB_Usage_TestCase extends PHPUnit_TestCase {
//contains the dsn of the database we are testing
@@ -138,7 +138,7 @@
}
function verifyFetchedValues(&$result, $rownum, &$data) {
- $row = $this->db->fetchInto($result, $rownum);
+ $row = $this->db->fetchInto($result, null, $rownum);
for ($i = 0; $i < count($this->fields); $i++) {
$type = $this->types[$i];
if ($this->types[$i] == 'float') {