run migrations always in kimai:install command (#944)

This commit is contained in:
Kevin Papst
2019-07-10 19:19:03 +02:00
committed by GitHub
parent 8a1d28563d
commit f23dcbec17
6 changed files with 57 additions and 10 deletions

View File

@@ -85,8 +85,9 @@ class InstallCommandTest extends KernelTestCase
self::assertContains('[NOTE] It seems as if you already have the required tables in your database,', $result);
self::assertContains('skipping schema creation', $result);
self::assertContains('[NOTE] Found ', $result);
self::assertContains(' migrations in your database, skipping import', $result);
// make sure migrations run always
self::assertContains('Application Migrations', $result);
self::assertContains('No migrations to execute.', $result);
self::assertContains(
sprintf('[OK] Congratulations! Kimai 2 (%s %s) was successful installed!', Constants::VERSION, Constants::STATUS),