mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-26 00:34:28 +02:00
* feat: initial migration to Laravel 10 * style: fix StyleCI findings
27 lines
516 B
PHP
27 lines
516 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Unit\Events;
|
|
|
|
use App\Contracts\Events\AssignHashidsEvent;
|
|
use App\Listeners\AssignHashids;
|
|
use Illuminate\Support\Facades\Event;
|
|
use Tests\TestCase;
|
|
|
|
/**
|
|
* Class AssignHashidsTest.
|
|
*/
|
|
class AssignHashidsTest extends TestCase
|
|
{
|
|
/**
|
|
* AssignHashids shall listen to AssignHashidsEvent.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testListening(): void
|
|
{
|
|
Event::assertListening(AssignHashidsEvent::class, AssignHashids::class);
|
|
}
|
|
}
|