diff options
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/CoreBundle/Command/InstallCommandTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php b/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php index 07ff2772..1bfd41d5 100644 --- a/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php +++ b/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php | |||
@@ -125,6 +125,12 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
125 | 125 | ||
126 | public function testRunInstallCommandWithDatabaseRemoved() | 126 | public function testRunInstallCommandWithDatabaseRemoved() |
127 | { | 127 | { |
128 | // skipped SQLite check when database is removed because while testing for the connection, | ||
129 | // the driver will create the file (so the database) before testing if database exist | ||
130 | if ($this->getClient()->getContainer()->get('doctrine')->getConnection()->getDriver() instanceof \Doctrine\DBAL\Driver\PDOSqlite\Driver) { | ||
131 | $this->markTestSkipped('SQLite spotted: can\'t test with database removed.'); | ||
132 | } | ||
133 | |||
128 | $application = new Application($this->getClient()->getKernel()); | 134 | $application = new Application($this->getClient()->getKernel()); |
129 | $application->add(new DropDatabaseDoctrineCommand()); | 135 | $application->add(new DropDatabaseDoctrineCommand()); |
130 | 136 | ||