Skip to content

Commit

Permalink
Merge pull request #229 from ergebnis/fix/key
Browse files Browse the repository at this point in the history
Fix: Use class names as keys
  • Loading branch information
ergebnis-bot authored Nov 1, 2020
2 parents a525fe8 + d29885d commit c71438a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Unit/RuleSet/AbstractRuleSetTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ final public function testRulesDoNotContainRuleSets(string $source, array $ruleN
final public function provideRuleNames(): \Generator
{
$values = [
'rule set' => self::createRuleSet()->rules(),
'test' => $this->rules,
static::className() => self::createRuleSet()->rules(),
static::class => $this->rules,
];

foreach ($values as $source => $rules) {
Expand Down

0 comments on commit c71438a

Please sign in to comment.