Files
kimai2/tests/EventSubscriber/Actions/TimesheetsSubscriberTest.php
2025-08-11 18:57:42 +02:00

25 lines
712 B
PHP

<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Tests\EventSubscriber\Actions;
use App\EventSubscriber\Actions\AbstractActionsSubscriber;
use App\EventSubscriber\Actions\TimesheetsSubscriber;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractActionsSubscriber::class)]
#[CoversClass(TimesheetsSubscriber::class)]
class TimesheetsSubscriberTest extends AbstractActionsSubscriberTestCase
{
public function testEventName(): void
{
$this->assertGetSubscribedEvent(TimesheetsSubscriber::class, 'timesheets');
}
}