Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit b29bf36

Browse files
author
Jens Schulze
committed
test(Cache): fix doctrine cache test
1 parent c414392 commit b29bf36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/Cache/DoctrineCacheAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function setUp()
2323
'The APCu extension is not loaded.'
2424
);
2525
}
26-
if (extension_loaded('apcu')) {
26+
if (class_exists('\Doctrine\Common\Cache\ApcuCache')) {
2727
$cache = new ApcuCache();
2828
} else {
2929
$cache = new ApcCache();

0 commit comments

Comments
 (0)