Commit a5b06b34 by Qiang Xue

Mark tests with problematic DBMS as skipped.

parent b4c4b405
......@@ -51,7 +51,12 @@ abstract class DatabaseTestCase extends TestCase
} else {
$fixture = null;
}
return $this->db = $this->prepareDatabase($config, $fixture, $open);
try {
$this->db = $this->prepareDatabase($config, $fixture, $open);
} catch (\Exception $e) {
$this->markTestSkipped("Something wrong when preparing database: " . $e->getMessage());
}
return $this->db;
}
public function prepareDatabase($config, $fixture, $open = true)
......
Markdown is supported
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