Skip to content

Commit

Permalink
Merge pull request #160 from glensc/zf1-future/284
Browse files Browse the repository at this point in the history
Use a temporary fixture test file for unit testing that git ignores
  • Loading branch information
falkenhawk authored Dec 12, 2022
2 parents efbaac5 + 72c2628 commit 25699a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
composer.lock
vendor
phpunit.xml
tests/Zend/Paginator/_files/test-write-tmp.sqlite
tests/TestConfiguration.php
4 changes: 3 additions & 1 deletion tests/Zend/Paginator/Adapter/DbSelectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`');
Expand Down

0 comments on commit 25699a0

Please sign in to comment.