From 44a9bfc07142a023e7e5f62245f2665be9f09359 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 6 Apr 2014 22:04:00 +0200 Subject: [PATCH] [ticket/12362] Do not use database test case as it's not needed PHPBB3-12362 --- tests/migrator/schema_generator_test.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/migrator/schema_generator_test.php b/tests/migrator/schema_generator_test.php index 9f9213779c..4bac447229 100644 --- a/tests/migrator/schema_generator_test.php +++ b/tests/migrator/schema_generator_test.php @@ -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_'; }