File tree Expand file tree Collapse file tree 2 files changed +278
-0
lines changed Expand file tree Collapse file tree 2 files changed +278
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,14 @@ public function test_Can_be_filtered_for_IgnoreDeprecations(): void
308308 $ this ->assertTrue ($ collection ->asArray ()[0 ]->isIgnoreDeprecations ());
309309 }
310310
311+ public function test_Can_be_filtered_for_IgnorePhpunitDeprecations (): void
312+ {
313+ $ collection = $ this ->collectionWithOneOfEach ()->isIgnorePhpunitDeprecations ();
314+
315+ $ this ->assertCount (1 , $ collection );
316+ $ this ->assertTrue ($ collection ->asArray ()[0 ]->isIgnorePhpunitDeprecations ());
317+ }
318+
311319 public function test_Can_be_filtered_for_PostCondition (): void
312320 {
313321 $ collection = $ this ->collectionWithOneOfEach ()->isPostCondition ();
@@ -517,6 +525,7 @@ private function collectionWithOneOfEach(): MetadataCollection
517525 Metadata::excludeStaticPropertyFromBackupOnClass ('' , '' ),
518526 Metadata::groupOnClass ('' ),
519527 Metadata::ignoreDeprecationsOnClass (),
528+ Metadata::ignorePhpunitDeprecationsOnClass (),
520529 Metadata::postCondition (),
521530 Metadata::preCondition (),
522531 Metadata::preserveGlobalStateOnClass (true ),
You can’t perform that action at this time.
0 commit comments