Rename test to better show expectation

This commit is contained in:
Yassine Guedidi 2024-01-21 10:46:48 +01:00
parent 221ddc8ba0
commit 62e412dbd4

View file

@ -128,7 +128,7 @@ class InstallCommandTest extends WallabagTestCase
$this->assertStringContainsString('Dropping database, creating database and schema, clearing the cache', $tester->getDisplay()); $this->assertStringContainsString('Dropping database, creating database and schema, clearing the cache', $tester->getDisplay());
} }
public function testRunInstallCommandWithDatabaseRemoved() public function testRunInstallCommandWithNonExistingDatabase()
{ {
if ($this->getTestClient()->getContainer()->get(ManagerRegistry::class)->getConnection()->getDatabasePlatform() instanceof PostgreSQLPlatform) { if ($this->getTestClient()->getContainer()->get(ManagerRegistry::class)->getConnection()->getDatabasePlatform() instanceof PostgreSQLPlatform) {
$this->markTestSkipped('PostgreSQL spotted: can\'t find a good way to drop current database, skipping.'); $this->markTestSkipped('PostgreSQL spotted: can\'t find a good way to drop current database, skipping.');