Commit 90dd3d82 authored by Carsten  Rose's avatar Carsten Rose
Browse files

phpunit: try & error commit

parent e465b436
......@@ -255,8 +255,13 @@ class DatabaseTest extends AbstractDatabaseTest {
$rc = $this->dbArray[DB_INDEX_DATA_DEFAULT]->sql($sql, ROW_REGULAR, $dummy, 'fake', $dummy, $stat);
// DB_NUM_ROWS | DB_INSERT_ID | DB_AFFECTED_ROWS
$this->assertEquals(array(), $rc);
$this->assertEquals(10, $stat[DB_NUM_ROWS]);
$all = '';
foreach ($rc as $val) {
$all .= '-' . implode('-', $val);
}
$this->assertEquals('-Address-Clipboard-Cron-Dirty-Form-FormElement-MailLog-Note-Period-Person', $all);
// $this->assertEquals(10, $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