diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-19 11:23:07 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-19 11:23:07 +0200 |
commit | d7b4b2c72cd1c9ad967ecfec668d5b0b9e794149 (patch) | |
tree | d20f88d9e9157bf9721c77913096dcd6875231b5 /tests/Wallabag | |
parent | da18a4682f124b02278860d23ac1d59dee995277 (diff) | |
parent | f9feca5c64309a2a202258bb92ae24b7a1dbe31c (diff) | |
download | wallabag-d7b4b2c72cd1c9ad967ecfec668d5b0b9e794149.tar.gz wallabag-d7b4b2c72cd1c9ad967ecfec668d5b0b9e794149.tar.zst wallabag-d7b4b2c72cd1c9ad967ecfec668d5b0b9e794149.zip |
Merge remote-tracking branch 'origin/master' into 2.1
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 | ||