cvs: pear /MDB2/tests MDB2_usage_testcase.php
| From: | Lukas Smith | Date: | Sun, 20 Aug 2006 08:18:29 +0000 |
| Subject: | cvs: pear /MDB2/tests MDB2_usage_testcase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41752@lists.php.net to get a copy of this message | ||
lsmith Sun Aug 20 08:18:29 2006 UTC
Modified files:
/pear/MDB2/tests MDB2_usage_testcase.php
Log:
- LOBs should not get rtrimmed
http://cvs.php.net/viewvc.cgi/pear/MDB2/tests/MDB2_usage_testcase.php?r1=1.78&r2=1.79&diff_format=u
Index: pear/MDB2/tests/MDB2_usage_testcase.php
diff -u pear/MDB2/tests/MDB2_usage_testcase.php:1.78 pear/MDB2/tests/MDB2_usage_testcase.php:1.79
--- pear/MDB2/tests/MDB2_usage_testcase.php:1.78 Sun Aug 20 07:14:47 2006
+++ pear/MDB2/tests/MDB2_usage_testcase.php Sun Aug 20 08:18:29 2006
@@ -41,7 +41,7 @@
// | Author: Paul Cooper <pgc@ucecom.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2_usage_testcase.php,v 1.78 2006/08/20 07:14:47 lsmith Exp $
+// $Id: MDB2_usage_testcase.php,v 1.79 2006/08/20 08:18:29 lsmith Exp $
require_once 'MDB2_testcase.php';
@@ -1574,7 +1574,7 @@
$value.= $data;
}
$this->db->datatype->destroyLOB($clob);
- $this->assertEquals(rtrim($character_lob), $value,
'"MDB2_PORTABILITY_RTRIM = on" Retrieved character LOB value is different from what
was stored');
+ $this->assertEquals($character_lob, $value, '"MDB2_PORTABILITY_RTRIM =
on" Retrieved character LOB value is different from what was stored');
} else {
$this->assertTrue(false, 'Error retrieving CLOB result');
}
@@ -1589,7 +1589,7 @@
}
$this->db->datatype->destroyLOB($blob);
- $this->assertEquals(rtrim($binary_lob), $value, '"MDB2_PORTABILITY_RTRIM =
on" Retrieved binary LOB value is different from what was stored');
+ $this->assertEquals($binary_lob, $value, '"MDB2_PORTABILITY_RTRIM =
on" Retrieved binary LOB value is different from what was stored');
} else {
$this->assertTrue(false, 'Error retrieving BLOB result');
}