@@ -41,7 +41,7 @@ public function testAnalyzeFileWithCustomCoverageRuleShouldPass(): void
4141    {
4242        $ metricsnew  FileMetric ('/a/b/c/test.php ' , 0 , 45 , [], []);
4343        $ confignew  InspectionConfig ('/a/ ' , 80 , false );
44-         $ configaddPathInspection (new  PathInspectionConfig (PathInspectionConfig::TYPE_FILE , 'b/c/test.php ' , 40 ));
44+         $ configaddPathInspection (new  PathInspectionConfig (PathInspectionConfig::TYPE_FILE , 'b/c/test.php ' , 45 ));
4545
4646        $ analyzernew  MetricsAnalyzer ($ metrics$ config
4747        $ result$ analyzeranalyze ();
@@ -66,12 +66,12 @@ public function testAnalyzeFileWithCustomCoverageAboveGlobalCoverageShouldFail()
6666        $ metricnew  FileMetric ('/a/b/c/test.php ' , 0 , 90 , [], []);
6767        $ metrics$ metric
6868        $ confignew  InspectionConfig ('/a/ ' , 80 , false );
69-         $ configaddPathInspection (new  PathInspectionConfig (PathInspectionConfig::TYPE_FILE , 'b/c/test.php ' , 50 ));
69+         $ configaddPathInspection (new  PathInspectionConfig (PathInspectionConfig::TYPE_FILE , 'b/c/test.php ' , 90 ));
7070
7171        $ analyzernew  MetricsAnalyzer ($ metrics$ config
7272        $ result$ analyzeranalyze ();
7373        static ::assertCount (1 , $ result
74-         static ::assertEquals ([new  Failure ($ metric50 , Failure::UNNECESSARY_CUSTOM_COVERAGE )], $ result
74+         static ::assertEquals ([new  Failure ($ metric90 , Failure::UNNECESSARY_CUSTOM_COVERAGE )], $ result
7575    }
7676
7777    public  function  testAnalyzeFileWithUncoveredMethodsShouldFail (): void 
0 commit comments