add yet another test for this weird bug people are reporting

tests *still* all pass, I can't reproduce the bug
This commit is contained in:
Sergey Tsalkov
2013-11-08 14:14:46 -08:00
parent 1d51c2b674
commit 7b0da839de

View File

@@ -399,6 +399,11 @@ class BasicTest extends SimpleTest {
DB::update('profile', array('signature' => $data), 'id=%i', 1); DB::update('profile', array('signature' => $data), 'id=%i', 1);
$signature = DB::queryFirstField("SELECT signature FROM profile WHERE id=%i", 1); $signature = DB::queryFirstField("SELECT signature FROM profile WHERE id=%i", 1);
$this->assert($signature === $data); $this->assert($signature === $data);
DB::update('profile',array('signature'=> "%li "),"id = %d",1);
$signature = DB::queryFirstField("SELECT signature FROM profile WHERE id=%i", 1);
$this->assert($signature === "%li ");
} }