mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 07:06:30 +02:00
More tests
This commit is contained in:
@@ -689,13 +689,17 @@
|
|||||||
{
|
{
|
||||||
$result = $this->db->db_Field('plugin', 'plugin_path');
|
$result = $this->db->db_Field('plugin', 'plugin_path');
|
||||||
$this->assertTrue($result);
|
$this->assertTrue($result);
|
||||||
|
|
||||||
|
$result = $this->db->db_Field('plugin', 2);
|
||||||
|
$this->assertEquals('plugin_version', $result);
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
public function testColumnCount()
|
public function testColumnCount()
|
||||||
{
|
{
|
||||||
|
$this->db->columnCount();
|
||||||
|
}*/
|
||||||
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
public function testField()
|
public function testField()
|
||||||
{
|
{
|
||||||
$result = $this->db->field('plugin', 'plugin_path');
|
$result = $this->db->field('plugin', 'plugin_path');
|
||||||
|
Reference in New Issue
Block a user