Skip to content

Commit

Permalink
Merge branch 'MDL-67087-master' of git://github.com/marinaglancy/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols authored and junpataleta committed Nov 4, 2019
2 parents f18ab99 + bcfa5e2 commit 691c570
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cache/stores/redis/tests/compressor_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ public function test_it_works_with_different_types_for_many() {
* @return array
*/
public function provider_for_tests_setget() {
if (!cachestore_redis::are_requirements_met()) {
// Even though we skip all tests in this case, this provider can still show warnings about non-existing class.
return [];
}

$data = [
['none, none',
Redis::SERIALIZER_NONE, cachestore_redis::COMPRESSOR_NONE,
Expand Down

0 comments on commit 691c570

Please sign in to comment.