common\WebTestCase::emptyTestDatabase PHP Method

emptyTestDatabase() protected method

Fully empties the test database
protected emptyTestDatabase ( SpoonDatabase $database )
$database SpoonDatabase
    protected function emptyTestDatabase($database)
    {
        foreach ($database->getTables() as $table) {
            $database->drop($table);
        }
    }