diff options
Diffstat (limited to 'tests/dbal/auto_increment_test.php')
| -rw-r--r-- | tests/dbal/auto_increment_test.php | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/tests/dbal/auto_increment_test.php b/tests/dbal/auto_increment_test.php index 1ed8ea29e3..950a4fc8f7 100644 --- a/tests/dbal/auto_increment_test.php +++ b/tests/dbal/auto_increment_test.php @@ -11,8 +11,6 @@  *  */ -require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php'; -  class phpbb_dbal_auto_increment_test extends phpbb_database_test_case  {  	protected $db; @@ -30,7 +28,8 @@ class phpbb_dbal_auto_increment_test extends phpbb_database_test_case  		parent::setUp();  		$this->db = $this->new_dbal(); -		$this->tools = new \phpbb\db\tools($this->db); +		$factory = new \phpbb\db\tools\factory(); +		$this->tools = $factory->get($this->db);  		$this->table_data = array(  			'COLUMNS'		=> array( | 
