aboutsummaryrefslogtreecommitdiffstats
path: root/tests/migrator/schema_generator_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-04-06 22:04:00 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-04-06 22:04:00 +0200
commit44a9bfc07142a023e7e5f62245f2665be9f09359 (patch)
tree7fe8ae9dd2cff8f280542778b39b30f8ce8254e0 /tests/migrator/schema_generator_test.php
parentf123512280adbde8196ded39bdcaf8bd1a30bde0 (diff)
downloadforums-44a9bfc07142a023e7e5f62245f2665be9f09359.tar
forums-44a9bfc07142a023e7e5f62245f2665be9f09359.tar.gz
forums-44a9bfc07142a023e7e5f62245f2665be9f09359.tar.bz2
forums-44a9bfc07142a023e7e5f62245f2665be9f09359.tar.xz
forums-44a9bfc07142a023e7e5f62245f2665be9f09359.zip
[ticket/12362] Do not use database test case as it's not needed
PHPBB3-12362
Diffstat (limited to 'tests/migrator/schema_generator_test.php')
-rw-r--r--tests/migrator/schema_generator_test.php10
1 files 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_';
}