File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,14 @@ public function test_Can_be_filtered_for_WithoutErrorHandler(): void
563
563
$ this ->assertTrue ($ collection ->asArray ()[0 ]->isWithoutErrorHandler ());
564
564
}
565
565
566
+ public function test_Can_be_filtered_for_IgnorePhpunitWarnings (): void
567
+ {
568
+ $ collection = $ this ->collectionWithOneOfEach ()->isIgnorePhpunitWarnings ();
569
+
570
+ $ this ->assertCount (1 , $ collection );
571
+ $ this ->assertTrue ($ collection ->asArray ()[0 ]->isIgnorePhpunitWarnings ());
572
+ }
573
+
566
574
private function collectionWithOneOfEach (): MetadataCollection
567
575
{
568
576
return MetadataCollection::fromArray (
@@ -630,6 +638,7 @@ private function collectionWithOneOfEach(): MetadataCollection
630
638
Metadata::usesMethod ('' , '' ),
631
639
Metadata::withEnvironmentVariableOnClass ('foo ' , 'bar ' ),
632
640
Metadata::withoutErrorHandler (),
641
+ Metadata::ignorePhpunitWarnings (null ),
633
642
],
634
643
);
635
644
}
You can’t perform that action at this time.
0 commit comments