mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Added debug mode to test, but it causes test to hang.
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user