mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-29 19:53:11 +01:00
25 lines
422 B
PHP
25 lines
422 B
PHP
<?php
|
|
|
|
namespace Tests\Unit\Events;
|
|
|
|
use App\Group;
|
|
use App\Events\GroupDeleting;
|
|
use Tests\TestCase;
|
|
|
|
|
|
/**
|
|
* @covers \App\Events\GroupDeleting
|
|
*/
|
|
class GroupDeletingTest extends TestCase
|
|
{
|
|
/**
|
|
* @test
|
|
*/
|
|
public function test_event_constructor()
|
|
{
|
|
$group = factory(Group::class)->make();
|
|
$event = new GroupDeleting($group);
|
|
|
|
$this->assertSame($group, $event->group);
|
|
}
|
|
} |