Move the PSR* autoload functions outside of SimpleSAML\Module.
Doing so allows us to mock the class. Otherwise, the _autoload_module.php is always called first, and when it tries to register the functions from that class, it automatically autoloads it, making it impossible to mock it afterwards.
Please register or sign in to comment