mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
Fixed array key absence check in e_db_abstractTest::testDb_Fetch()
This commit is contained in:
parent
15de2e233b
commit
46b541889f
@ -584,8 +584,8 @@ abstract class e_db_abstractTest extends \Codeception\Test\Unit
|
||||
$this->db->select('user', '*', 'user_id = 1');
|
||||
$row = $this->db->db_Fetch();
|
||||
$this->assertEquals("e107", $row['user_name']);
|
||||
$this->assertNull($row[0]);
|
||||
$this->assertNull($row[1]);
|
||||
$this->assertFalse(isset($row[0]), "MYSQL_NUM keys not expected");
|
||||
$this->assertFalse(isset($row[1]), "MYSQL_NUM keys not expected");
|
||||
|
||||
// legacy tests
|
||||
$this->db->select('user', '*', 'user_id = 1');
|
||||
|
Loading…
x
Reference in New Issue
Block a user