Release 2.20.0 (#4987)
This commit is contained in:
@@ -162,12 +162,12 @@ class ExportCreateCommandTest extends KernelTestCase
|
||||
|
||||
public function testCreateWithInvalidEmail(): void
|
||||
{
|
||||
$this->assertCommandErrors(['--template' => 'csv', '--email' => ['tzuikmnbgtz']], 'Invalid "email" given: tzuikmnbgtz');
|
||||
$this->assertCommandErrors(['--template' => 'csv', '--email' => ['tzuikmnbgtz']], 'Invalid "email" given');
|
||||
}
|
||||
|
||||
public function testCreateWithInvalidEmails(): void
|
||||
{
|
||||
$this->assertCommandErrors(['--template' => 'csv', '--email' => ['foo@example.com', 'foo@1']], 'Invalid "email" given: foo@1');
|
||||
$this->assertCommandErrors(['--template' => 'csv', '--email' => ['foo@example.com', 'foo@1']], 'Invalid "email" given');
|
||||
}
|
||||
|
||||
public function testCreateWithMissingEntries(): void
|
||||
|
||||
@@ -54,7 +54,7 @@ class UpdateCommandTest extends KernelTestCase
|
||||
self::assertStringContainsString('[OK] Already at the latest version ("DoctrineMigrations\\', $result);
|
||||
|
||||
self::assertStringContainsString(
|
||||
sprintf('[OK] Congratulations! Successfully updated Kimai to version %s', Constants::VERSION),
|
||||
\sprintf('[OK] Congratulations! Successfully updated Kimai to version %s', Constants::VERSION),
|
||||
$result
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user