Skip to content

Commit

Permalink
MDL-42012 cache: Valid definitions are required even when disabled
Browse files Browse the repository at this point in the history
andrewnicols committed Sep 9, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d98bbcb commit 7f7df72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/tests/cache_test.php
Original file line number Diff line number Diff line change
@@ -1335,7 +1335,7 @@ public function test_disable() {
$this->assertInstanceOf('cache_config_disabled', $config);

// Check we get the expected disabled caches.
$cache = cache::make('phpunit', 'disable');
$cache = cache::make('core', 'string');
$this->assertInstanceOf('cache_disabled', $cache);

// Test an application cache.

0 comments on commit 7f7df72

Please sign in to comment.