mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
escape test.
This commit is contained in:
@@ -738,17 +738,19 @@
|
|||||||
$result = $this->db->field('plugin', 'plugin_path');
|
$result = $this->db->field('plugin', 'plugin_path');
|
||||||
$this->assertTrue($result);
|
$this->assertTrue($result);
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
public function testEscape()
|
public function testEscape()
|
||||||
{
|
{
|
||||||
|
$result = $this->db->escape(123);
|
||||||
|
$this->assertEquals(123,$result);
|
||||||
|
|
||||||
|
$result = $this->db->escape("Can't", true);
|
||||||
|
$this->assertEquals("Can't", $result);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testDb_Table_exists()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
public function testDb_Table_exists()
|
public function testDb_Table_exists()
|
||||||
{
|
{
|
||||||
$result = $this->db->db_Table_exists('plugin');
|
$result = $this->db->db_Table_exists('plugin');
|
||||||
|
Reference in New Issue
Block a user