You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -109,7 +109,7 @@ public function testNotifyWithAWarning(): void
109
109
0
110
110
));
111
111
112
-
$this->assertMatchesTextSnapshot($this->output);
112
+
$this->assertStringContainsString('There was at least one pattern that did not match any covered classes. Please consider removing them', $this->output);
113
113
}
114
114
115
115
publicfunctiontestNotifyWhenCoverageIsOk(): void
@@ -143,7 +143,7 @@ public function testNotifyWhenCoverageIsOk(): void
143
143
0
144
144
));
145
145
146
-
$this->assertMatchesTextSnapshot($this->output);
146
+
$this->assertStringContainsString('All minimum code coverage rules passed, give yourself a pat on the back!', $this->output);
147
147
}
148
148
149
149
publicfunctiontestNotifyWithOnlyTotal(): void
@@ -177,7 +177,8 @@ public function testNotifyWithOnlyTotal(): void
@@ -279,7 +282,7 @@ public function testDivideByZero(): void
279
282
0
280
283
));
281
284
282
-
$this->assertMatchesTextSnapshot($this->output);
285
+
$this->assertStringContainsString('There was at least one pattern that did not match any covered classes. Please consider removing them', $this->output);
@@ -313,7 +316,7 @@ public function testNotifyWhenNoTrackedLines(): void
313
316
0
314
317
));
315
318
316
-
$this->assertMatchesTextSnapshot($this->output);
319
+
$this->assertStringContainsString('There was at least one pattern that did not match any covered classes. Please consider removing them', $this->output);
Copy file name to clipboardExpand all lines: tests/Subscriber/Application/__snapshots__/ApplicationFinishedSubscriberTest__testNotifyWhenCoverageIsOk__1.txt
Copy file name to clipboardExpand all lines: tests/Subscriber/Application/__snapshots__/ApplicationFinishedSubscriberTest__testNotifyWhenNoTrackedLines__1.txt
Copy file name to clipboardExpand all lines: tests/Subscriber/Application/__snapshots__/ApplicationFinishedSubscriberTest__testNotifyWithAWarning__1.txt
Copy file name to clipboardExpand all lines: tests/Subscriber/Application/__snapshots__/ApplicationFinishedSubscriberTest__testNotifyWithAtLeastOneFailedRule__1.txt
Copy file name to clipboardExpand all lines: tests/Subscriber/Application/__snapshots__/ApplicationFinishedSubscriberTest__testNotifyWithOnlyTotal__1.txt
Copy file name to clipboardExpand all lines: tests/Subscriber/Application/__snapshots__/ApplicationFinishedSubscriberTest__testNotifyWithRulesThatDoNotExit__1.txt
Copy file name to clipboardExpand all lines: tests/Subscriber/Application/__snapshots__/ApplicationFinishedSubscriberTest__testNotifyWithoutTotal__1.txt
0 commit comments