diff --git a/test/Unit/RuleSet/AbstractRuleSetTestCase.php b/test/Unit/RuleSet/AbstractRuleSetTestCase.php index d9a6e387..f0b2edeb 100644 --- a/test/Unit/RuleSet/AbstractRuleSetTestCase.php +++ b/test/Unit/RuleSet/AbstractRuleSetTestCase.php @@ -44,7 +44,7 @@ final public function testDefaults(): void $ruleSet = self::createRuleSet(); self::assertSame($this->name, $ruleSet->name()); - self::assertEquals($this->rules, $ruleSet->rules()); + self::assertSame($this->rules, $ruleSet->rules()); self::assertSame($this->targetPhpVersion, $ruleSet->targetPhpVersion()); } @@ -98,7 +98,7 @@ final public function testRulesAreSortedByNameInRuleSet(): void \sort($sorted); - self::assertEquals($sorted, $ruleNames, \sprintf( + self::assertSame($sorted, $ruleNames, \sprintf( 'Failed asserting that the rules are sorted by name in rule set "%s".', static::className() )); @@ -112,7 +112,7 @@ final public function testRulesAreSortedByNameInRuleSetTest(): void \sort($sorted); - self::assertEquals($sorted, $ruleNames, \sprintf( + self::assertSame($sorted, $ruleNames, \sprintf( 'Failed asserting that the rules are sorted by name in rule set test "%s".', static::class ));