Skip to content

Commit e789585

Browse files
committed
Require drop-in.php so Object_Cache_Annihilator class is available right away.
1 parent 6faddcd commit e789585

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/phpunit/tests/test-object-cache.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public function set_up() {
1414
$this->cache_backup = $wp_object_cache;
1515

1616
// Drop in the annihilator.
17+
require_once POLYLANG_DIR . '/vendor/wpsyntex/object-cache-annihilator/drop-in.php';
1718
copy( POLYLANG_DIR . '/vendor/wpsyntex/object-cache-annihilator/drop-in.php', WP_CONTENT_DIR . '/object-cache.php' );
1819
wp_using_ext_object_cache( true );
1920
$wp_object_cache = new Object_Cache_Annihilator();

0 commit comments

Comments
 (0)