Skip to content
  • Andrew Lyons's avatar
    MDL-51236 phpunit: Prevent testsuite name conflicts · 2ccd546b
    Andrew Lyons authored
    The testsuite name is fed straight into a class_exists() in
    PHPUnit_Framework_TestSuite. In some cases, e.g. cachestore_static, the
    class does exist, it's then fed into a ReflectionClass, and the test fails.
    
    The testsuite needs to not conflict with any classes which could be
    autoloaded in Moodle core.
    2ccd546b