Skip to content

Commit 8175e94

Browse files
committed
Fix: Remove accessibility modification for cache property in non-serializable object test
1 parent 1241f5a commit 8175e94

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/phpunit/tests/cache.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ public function test_stats_with_non_serializable_simplexml_data() {
539539
// any object-clone logic in set(), simulating a real-world scenario where
540540
// a non-serializable object ends up in the cache.
541541
$cache_property = new ReflectionProperty( $this->cache, 'cache' );
542-
$cache_property->setAccessible( true );
543542
$cache_data = $cache_property->getValue( $this->cache );
544543
$cache_data['xml-group']['item1'] = $xml_object;
545544
$cache_property->setValue( $this->cache, $cache_data );

0 commit comments

Comments
 (0)