Skip to content

Commit

Permalink
Update ConfigTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jun 30, 2024
1 parent a1a08cd commit 2fa4e92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Unit/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public function testSetRuleset(): void
$this->assertSame('@RuleSetFile', Config::create(new RuleSetFile)->getName());
}

public function testSetRulesetWithStringInput(): void
{
$this->assertSame('@Realodix', Config::create('Realodix')->getName());
}

public function testAddLocalRules(): void
{
$rules1 = (new RuleSetFile)->rules();
Expand Down

0 comments on commit 2fa4e92

Please sign in to comment.