diff --git a/tests/unit/Event/Value/TestSuite/TestSuiteBuilderTest.php b/tests/unit/Event/Value/TestSuite/TestSuiteBuilderTest.php index b3885c1fbbe..4afd01428f9 100644 --- a/tests/unit/Event/Value/TestSuite/TestSuiteBuilderTest.php +++ b/tests/unit/Event/Value/TestSuite/TestSuiteBuilderTest.php @@ -34,10 +34,10 @@ public function test_Builds_TestSuite_value_object_for_test_suite_loaded_from_XM $this->assertCount(3, $testSuite->tests()); } - public function testBuildCountWithFilter() + public function testBuildCountWithFilter(): void { - $testSuite = $this->testSuiteFromXmlConfiguration(); - $filterFactory = new Factory(); + $testSuite = $this->testSuiteFromXmlConfiguration(); + $filterFactory = new Factory; $filterFactory->addNameFilter('one'); $testSuite->injectFilter($filterFactory); $testSuite = TestSuiteBuilder::from($testSuite);