Skip to content

Commit 87f9f1d

Browse files
author
Alex Westergaard
committed
Assert lookup types (Facade/Abstract)
1 parent 226986a commit 87f9f1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/Unit/EventsTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ public function testViewSearchResults()
318318

319319
protected function assertEventNaming($event)
320320
{
321+
$this->assertInstanceOf(TypeEvent::class, $event);
322+
$this->assertInstanceOf(AbstractEvent::class, $event);
323+
321324
$reflection = new ReflectionClass($event);
322325
$filename = $reflection->getFileName();
323326

0 commit comments

Comments
 (0)