diff --git a/.gitignore b/.gitignore index 8ea882705..f39513ece 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ composer.lock vendor phpunit.xml +tests/Zend/Paginator/_files/test-write-tmp.sqlite tests/TestConfiguration.php \ No newline at end of file diff --git a/tests/Zend/Paginator/Adapter/DbSelectTest.php b/tests/Zend/Paginator/Adapter/DbSelectTest.php index 7c22bff67..c56230212 100644 --- a/tests/Zend/Paginator/Adapter/DbSelectTest.php +++ b/tests/Zend/Paginator/Adapter/DbSelectTest.php @@ -296,7 +296,9 @@ public function testSelectDistinctAllUsesRegularCountAll() */ public function testSelectHasAliasedColumns() { - $db = $this->_db; + $db = new Zend_Db_Adapter_Pdo_Sqlite(array( + 'dbname' => dirname(__FILE__) . '/../_files/test-write-tmp.sqlite' + )); $db->query('DROP TABLE IF EXISTS `sandboxTransaction`'); $db->query('DROP TABLE IF EXISTS `sandboxForeign`');