diff --git a/tests/tests/Report/PhpTest.php b/tests/tests/Report/PhpTest.php index 733e739f4..75c11b4ba 100644 --- a/tests/tests/Report/PhpTest.php +++ b/tests/tests/Report/PhpTest.php @@ -53,6 +53,7 @@ public function testCacheDataNeverGetSaved(): void $coverage->getReport(); $refProperty = new ReflectionProperty($coverage, 'cachedReport'); + $refProperty->setAccessible(true); $this->assertNotNull($refProperty->getValue($coverage));