This commit is contained in:
Jeremy Benoist 2015-11-06 22:15:20 +01:00
parent d502762598
commit 75c48e3ae0
2 changed files with 5 additions and 5 deletions

View file

@ -90,8 +90,8 @@ class InstallCommandTest extends WallabagCoreTestCase
public function testRunInstallCommandWithDatabaseRemoved() public function testRunInstallCommandWithDatabaseRemoved()
{ {
if ($this->getClient()->getContainer()->get('doctrine')->getConnection()->getDriver() instanceOf \Doctrine\DBAL\Driver\PDOPgSql\Driver) { if ($this->getClient()->getContainer()->get('doctrine')->getConnection()->getDriver() instanceof \Doctrine\DBAL\Driver\PDOPgSql\Driver) {
/** /*
* LOG: statement: CREATE DATABASE "wallabag" * LOG: statement: CREATE DATABASE "wallabag"
* ERROR: source database "template1" is being accessed by other users * ERROR: source database "template1" is being accessed by other users
* DETAIL: There is 1 other session using the database. * DETAIL: There is 1 other session using the database.
@ -183,8 +183,8 @@ class InstallCommandTest extends WallabagCoreTestCase
public function testRunInstallCommandChooseNothing() public function testRunInstallCommandChooseNothing()
{ {
if ($this->getClient()->getContainer()->get('doctrine')->getConnection()->getDriver() instanceOf \Doctrine\DBAL\Driver\PDOPgSql\Driver) { if ($this->getClient()->getContainer()->get('doctrine')->getConnection()->getDriver() instanceof \Doctrine\DBAL\Driver\PDOPgSql\Driver) {
/** /*
* LOG: statement: CREATE DATABASE "wallabag" * LOG: statement: CREATE DATABASE "wallabag"
* ERROR: source database "template1" is being accessed by other users * ERROR: source database "template1" is being accessed by other users
* DETAIL: There is 1 other session using the database. * DETAIL: There is 1 other session using the database.

View file

@ -75,7 +75,7 @@ class EntryControllerTest extends WallabagCoreTestCase
} }
/** /**
* This test will require an internet connection * This test will require an internet connection.
*/ */
public function testPostNewOk() public function testPostNewOk()
{ {