Skip to content

Commit acd3833

Browse files
authored
Filip fixe tests ...
1 parent 7050bf2 commit acd3833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function setUp(): void
4242
$this->assertEquals(0, \DB::table('taggables')->count());
4343

4444
\Event::listen('eloquent.*', function ($eventName, array $data) {
45-
if (0 !== strpos($eventName, 'eloquent.retrieved')) {
45+
if (0 !== strpos($eventName, 'eloquent.retrieved') && 0 !== strpos($eventName, 'eloquent.booting') && 0 !== strpos($eventName, 'eloquent.booted')) {
4646
self::$events[] = array_merge([$eventName], $data);
4747
}
4848
});

0 commit comments

Comments
 (0)