Release 2.12 (#4609)
This commit is contained in:
@@ -32,7 +32,7 @@ class ReloadCommandTest extends KernelTestCase
|
||||
));
|
||||
}
|
||||
|
||||
public function testCommandName()
|
||||
public function testCommandName(): void
|
||||
{
|
||||
$command = $this->application->find('kimai:reload');
|
||||
self::assertInstanceOf(ReloadCommand::class, $command);
|
||||
|
||||
@@ -19,7 +19,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
*/
|
||||
class ResetDevelopmentCommandTest extends KernelTestCase
|
||||
{
|
||||
public function testCommandName()
|
||||
public function testCommandName(): void
|
||||
{
|
||||
$kernel = self::bootKernel();
|
||||
$application = new Application($kernel);
|
||||
@@ -30,7 +30,7 @@ class ResetDevelopmentCommandTest extends KernelTestCase
|
||||
self::assertInstanceOf(ResetDevelopmentCommand::class, $command);
|
||||
}
|
||||
|
||||
public function testCommandNameIsNotEnabledInProd()
|
||||
public function testCommandNameIsNotEnabledInProd(): void
|
||||
{
|
||||
$sut = new ResetDevelopmentCommand('prod');
|
||||
self::assertFalse($sut->isEnabled());
|
||||
|
||||
@@ -20,7 +20,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
*/
|
||||
class ResetTestCommandTest extends KernelTestCase
|
||||
{
|
||||
public function testCommandName()
|
||||
public function testCommandName(): void
|
||||
{
|
||||
$kernel = self::bootKernel();
|
||||
$application = new Application($kernel);
|
||||
@@ -31,7 +31,7 @@ class ResetTestCommandTest extends KernelTestCase
|
||||
self::assertInstanceOf(ResetTestCommand::class, $command);
|
||||
}
|
||||
|
||||
public function testCommandNameIsNotEnabledInProd()
|
||||
public function testCommandNameIsNotEnabledInProd(): void
|
||||
{
|
||||
$sut = new ResetTestCommand($this->createMock(EntityManagerInterface::class), 'prod');
|
||||
self::assertFalse($sut->isEnabled());
|
||||
|
||||
@@ -34,13 +34,13 @@ class TimesheetStopAllCommandTest extends KernelTestCase
|
||||
$this->application->add(new TimesheetStopAllCommand($service));
|
||||
}
|
||||
|
||||
public function testCommandName()
|
||||
public function testCommandName(): void
|
||||
{
|
||||
$command = $this->application->find('kimai:timesheet:stop-all');
|
||||
self::assertInstanceOf(TimesheetStopAllCommand::class, $command);
|
||||
}
|
||||
|
||||
public function testRun()
|
||||
public function testRun(): void
|
||||
{
|
||||
$command = $this->application->find('kimai:timesheet:stop-all');
|
||||
$commandTester = new CommandTester($command);
|
||||
|
||||
Reference in New Issue
Block a user