Skip to content

Commit

Permalink
Maggic isset methid test.
Browse files Browse the repository at this point in the history
  • Loading branch information
francis94c committed Jul 27, 2020
1 parent 4c08855 commit a98b669
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/EventsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public function canSetDraft(): void
$this->assertTrue($event->isDraft());
$this->assertTrue($event->draft);

$this->assertTrue(isset($event->draft));

$event->setIsDraft(false);

$this->assertFalse($event->isDraft());
Expand Down

0 comments on commit a98b669

Please sign in to comment.