mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-26 00:34:28 +02:00
22 lines
453 B
PHP
22 lines
453 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 extends TestCase
|
|
{
|
|
/**
|
|
* AssignHashids shall listen to AssignHashidsEvent.
|
|
*/
|
|
public function testListening(): void
|
|
{
|
|
Event::assertListening(AssignHashidsEvent::class, AssignHashids::class);
|
|
}
|
|
}
|