Commit 27889deb authored by Carsten  Rose's avatar Carsten Rose
Browse files

Test: phpUnit tests updated

parent ed7029e1
......@@ -251,18 +251,9 @@ class DatabaseTest extends AbstractDatabaseTest {
$sql = "SHOW TABLES";
$rc = $this->db->sql($sql, ROW_REGULAR, $dummy, 'fake', $dummy, $stat);
$this->assertEquals([
0 => ['Tables_in_crose_qfq_db_phpunit' => 'Address'],
1 => ['Tables_in_crose_qfq_db_phpunit' => 'Form'],
2 => ['Tables_in_crose_qfq_db_phpunit' => 'FormElement'],
3 => ['Tables_in_crose_qfq_db_phpunit' => 'Gruppe'],
4 => ['Tables_in_crose_qfq_db_phpunit' => 'Note'],
5 => ['Tables_in_crose_qfq_db_phpunit' => 'Person'],
6 => ['Tables_in_crose_qfq_db_phpunit' => 'note']
], $rc);
// DB_NUM_ROWS | DB_INSERT_ID | DB_AFFECTED_ROWS
$this->assertEquals(7, $stat[DB_NUM_ROWS]);
$this->assertEquals(6, $stat[DB_NUM_ROWS]);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment