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