Skip to content
  • Russell Smith's avatar
    MDL-56273 cache: Use cache initialise always. · a169739d
    Russell Smith authored
    purge_all() and purge_by_definition() look in the configuration
    for which caches are available and then creates them to purge them.
    The configuration stores the values used by initialise(), not
    initialise_unit_test_instance() and would therefore fail to purge
    all caches if they were not purged by another means.
    
    In the case of filestore, it's purged by unit tests, in the case
    of memcache(d), it purges the whole store when a single definition
    is requested.
    
    Therefore all configuration was moved into the configuration file
    during unit tests and does not have any special override codes in
    the unit test infrastructure.
    a169739d