Skip to content

Commit

Permalink
Fixed the SqliteMetadata test checking the pdo_sqlite extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Jun 7, 2013
1 parent 978ef9e commit 7be41a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ZendTest/Db/Metadata/Source/SqliteMetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class SqliteMetadataTest extends \PHPUnit_Framework_TestCase
*/
protected function setUp()
{
if (!extension_loaded('pdo_sqlite')) {
$this->markTestSkipped('I cannot test without the pdo_sqlite extension');
}
$this->adapter = new Adapter(array(
'driver' => 'Pdo',
'dsn' => 'sqlite::memory:'
Expand Down

0 comments on commit 7be41a0

Please sign in to comment.