mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-14 04:30:29 +01: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
@ -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()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$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->table_prefix = 'phpbb_';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user