cvs: pear /MDB/tests MDB_usage_testcase.php
| From: | Lorenzo Alberton | Date: | Sat, 14 Jun 2003 09:04:56 +0000 |
| Subject: | cvs: pear /MDB/tests MDB_usage_testcase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-10958@lists.php.net to get a copy of this message | ||
quipo Sat Jun 14 05:04:56 2003 EDT
Modified files:
/pear/MDB/tests MDB_usage_testcase.php
Log:
- add ID to prepared queries in testLobNulls() too
Index: pear/MDB/tests/MDB_usage_testcase.php
diff -u pear/MDB/tests/MDB_usage_testcase.php:1.27 pear/MDB/tests/MDB_usage_testcase.php:1.28
--- pear/MDB/tests/MDB_usage_testcase.php:1.27 Fri Jun 13 19:23:23 2003
+++ pear/MDB/tests/MDB_usage_testcase.php Sat Jun 14 05:04:56 2003
@@ -41,7 +41,7 @@
// | Author: Paul Cooper <pgc@ucecom.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB_usage_testcase.php,v 1.27 2003/06/13 23:23:23 quipo Exp $
+// $Id: MDB_usage_testcase.php,v 1.28 2003/06/14 09:04:56 quipo Exp $
class MDB_Usage_TestCase extends PHPUnit_TestCase {
//contains the dsn of the database we are testing
@@ -123,7 +123,7 @@
function supported($feature) {
if (!$this->db->support($feature)) {
- $this->assertTrue(FALSE, 'This database does not support'.$feature);
+ $this->assertTrue(FALSE, 'This database does not support '.$feature);
return(FALSE);
}
return(TRUE);
@@ -1051,7 +1051,8 @@
return;
}
- $prepared_query = $this->db->prepareQuery('INSERT INTO files (document,picture)
VALUES (?,?)');
+ $prepared_query = $this->db->prepareQuery('INSERT INTO files (ID,
document,picture) VALUES (1,?,?)');
+ //$prepared_query = $this->db->prepareQuery('INSERT INTO files
(document,picture) VALUES (?,?)');
$this->db->setParamNull($prepared_query, 1, 'clob');
$this->db->setParamNull($prepared_query, 2, 'blob');