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:
@@ -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 ");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user