Skip to content

Commit

Permalink
Fix apc caching tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Jul 5, 2023
1 parent bb3fa7c commit 7551799
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/framework/caching/ApcCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ protected function getCacheInstance()
}

if ($this->_cacheInstance === null) {
$this->_cacheInstance = new ApcCache();
$this->_cacheInstance->useApcu = true;
$this->_cacheInstance = new ApcCache(['useApcu' => true]);
}

return $this->_cacheInstance;
Expand Down

0 comments on commit 7551799

Please sign in to comment.