-
Bug
-
Resolution: Fixed
-
Minor
-
2.9.8, 3.1.2
-
MOODLE_29_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
wip-mdl-56347
-
Steps to reproduce:
- Set following in your config.php
define('TEST_CACHE_USING_APPLICATION_STORE', 'memcached');
define('TEST_CACHESTORE_MEMCACHED_TESTSERVERS', '127.0.0.1:11211'."\n".'127.0.0.1:11212');
- Ensure memcached instance is not installed. php -m | grep memcached
- Try initialize phpunit or run and you will observe following notice.
Notice: Undefined index: class in /home/rajesh/moodles/im31/moodle/cache/classes/factory.php on line 279
|
PHP Fatal error: Class name must be a valid object or a string in /home/rajesh/moodles/im31/moodle/cache/classes/factory.php on line 280
|
- has a non-specific relationship to
-
MDL-49149 Speed up phpunit executions using memory store instance for faster caches reset
- Reopened
- has been marked as being related by
-
MDL-56273 purge_all() on unit tests can fail as store::initialise is different from store::initialise_unit_test_instance
- Closed
- Testing discovered
-
MDL-56348 Invalid 2nd parameter passed to create_cache
- Closed
- will be (partly) resolved by
-
MDL-56273 purge_all() on unit tests can fail as store::initialise is different from store::initialise_unit_test_instance
- Closed