diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2014-04-06 22:04:00 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2014-04-06 22:04:00 +0200 |
| commit | 44a9bfc07142a023e7e5f62245f2665be9f09359 (patch) | |
| tree | 7fe8ae9dd2cff8f280542778b39b30f8ce8254e0 /tests/migrator/schema_generator_test.php | |
| parent | f123512280adbde8196ded39bdcaf8bd1a30bde0 (diff) | |
| download | forums-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.php | 10 |
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_'; } |
