Skip to content

Commit 15f06c8

Browse files
committed
[skip] fix MissConfigurationReporterTest to scoped class|path used-skip key
1 parent 16760c7 commit 15f06c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/Reporting/MissConfigurationReporterTest.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public function testReportsOnlyTrackableUnusedSkips(): void
6565
{
6666
SimpleParameterProvider::setParameter(Option::REPORT_UNUSED_SKIPS, true);
6767

68-
// matched rule-scoped path is marked used by its path, not by the rule class
69-
$processResult = new ProcessResult([], [], 0, [self::USED_RULE_MASK]);
68+
// matched rule-scoped path is marked used scoped to its rule as "class|path"
69+
$processResult = new ProcessResult([], [], 0, [AnotherClassToSkip::class . '|' . self::USED_RULE_MASK]);
7070
$this->missConfigurationReporter->reportUnusedSkips($processResult);
7171

7272
$output = $this->bufferedOutput->fetch();

0 commit comments

Comments
 (0)