mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-12 18:21:13 +01:00
24 lines
544 B
PHP
24 lines
544 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use App\Providers\EventServiceProvider;
|
|
use PHPUnit\Framework\Attributes\CoversClass;
|
|
use PHPUnit\Framework\Attributes\Test;
|
|
use Tests\FeatureTestCase;
|
|
|
|
/**
|
|
* AppTest class
|
|
*/
|
|
#[CoversClass(EventServiceProvider::class)]
|
|
class AppTest extends FeatureTestCase
|
|
{
|
|
#[Test]
|
|
public function test_events_should_be_explicitly_registered()
|
|
{
|
|
$eventServiceProvider = app()->getProvider(EventServiceProvider::class);
|
|
|
|
$this->assertFalse($eventServiceProvider->shouldDiscoverEvents());
|
|
}
|
|
}
|