Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zamponi committed Nov 22, 2020
1 parent 8307a48 commit 79de222
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/Options/ModuleOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ public function testEnableDefaultEntitiesReturnsTrueByDefault(): void
$moduleOptions = new ModuleOptions();
self::assertTrue($moduleOptions->getEnableDefaultEntities());
}

public function testDisableDefaultEntities(): void
{
$moduleOptions = new ModuleOptions();
$moduleOptions->setEnableDefaultEntities(false);
self::assertFalse($moduleOptions->getEnableDefaultEntities());
}
}

0 comments on commit 79de222

Please sign in to comment.