mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-24 07:08:35 +01:00
25 lines
602 B
PHP
25 lines
602 B
PHP
<?php
|
|
|
|
namespace Tests\Unit\Events;
|
|
|
|
use App\Events\StoreIconsInDatabaseSettingChanged;
|
|
use PHPUnit\Framework\Attributes\CoversClass;
|
|
use PHPUnit\Framework\Attributes\Test;
|
|
use Tests\TestCase;
|
|
|
|
/**
|
|
* storeIconsInDatabaseSettingChangedTest test class
|
|
*/
|
|
#[CoversClass(StoreIconsInDatabaseSettingChanged::class)]
|
|
class storeIconsInDatabaseSettingChangedTest extends TestCase
|
|
{
|
|
#[Test]
|
|
public function test_event_constructor()
|
|
{
|
|
$newValue = true;
|
|
$event = new StoreIconsInDatabaseSettingChanged($newValue);
|
|
|
|
$this->assertSame($newValue, $event->newValue);
|
|
}
|
|
}
|