Spaces:
No application file
No application file
File size: 506 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<?php
declare(strict_types=1);
namespace Mautic\ReportBundle\Tests\Command;
use Mautic\CoreBundle\Test\MauticMysqlTestCase;
use PHPUnit\Framework\Assert;
class ExportSchedulerCommandTest extends MauticMysqlTestCase
{
public function testCommand(): void
{
$commandTester = $this->testSymfonyCommand('mautic:reports:scheduler');
Assert::assertSame(0, $commandTester->getStatusCode());
Assert::assertSame("Scheduler has finished\n", $commandTester->getDisplay());
}
}
|