mirror of
https://github.com/e107inc/e107.git
synced 2025-04-07 06:03:25 +02:00
Added debug mode to test, but it causes test to hang.
This commit is contained in:
parent
eb9ed77b0f
commit
c4d47c4e03
@ -390,8 +390,10 @@
|
||||
$actual = $this->db->db_Insert('tmp', array('tmp_ip' => '127.0.0.1', 'tmp_time' => time(), 'tmp_info' => 'test 2'));
|
||||
$this->assertTrue($actual);
|
||||
|
||||
// $this->db->debugMode(true);// todo causes a hang while testing. (see db_Query() )
|
||||
$actual = $this->db->db_Insert('missing_table', array('tmp_ip' => '127.0.0.1', 'tmp_time' => time(), 'tmp_info' => 'test 2'));
|
||||
$this->assertFalse($actual);
|
||||
// $this->db->debugMode(false);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user