mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12362] Do not use database test case as it's not needed
PHPBB3-12362
This commit is contained in:
parent
f123512280
commit
44a9bfc071
1 changed files with 2 additions and 8 deletions
|
@ -7,20 +7,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class schmema_generator_test extends phpbb_database_test_case
|
class schmema_generator_test extends phpbb_test_case
|
||||||
{
|
{
|
||||||
// Use some bogus fixture as we don't actually need to access the database
|
|
||||||
public function getDataSet()
|
|
||||||
{
|
|
||||||
return $this->createXMLDataSet(dirname(__FILE__) . '/../dbal/fixtures/config.xml');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
$this->config = new \phpbb\config\config(array());
|
$this->config = new \phpbb\config\config(array());
|
||||||
$this->db = $this->new_dbal();
|
$this->db = new \phpbb\db\driver\sqlite();
|
||||||
$this->db_tools = new \phpbb\db\tools($this->db);
|
$this->db_tools = new \phpbb\db\tools($this->db);
|
||||||
$this->table_prefix = 'phpbb_';
|
$this->table_prefix = 'phpbb_';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue