MDL-40700 tests: skip if there is not instance
commite681d0ed5823aa3667151ee850f24dd08124d112
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 23 Jul 2013 15:00:02 +0000 (23 17:00 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 23 Jul 2013 15:02:36 +0000 (23 17:02 +0200)
treedf12d38f4860b186c21ea00d6cfe5c03281d7755
parent52affa8a9a888efe4f5b7b5e2f093af313623a1a
MDL-40700 tests: skip if there is not instance

Various reasons can lead to the cache stores not being available
(missing extension, configuration...). Under those situations
the test must be skipped because for sure it will break if
we continue.
cache/stores/memcache/tests/memcache_test.php
cache/stores/memcached/tests/memcached_test.php