Open roperto opened 7 years ago
This would help with organising the class structure and help with coverage tests.
classes
One way to achieve that is to move all the contents to classes/local/odessa.php , properly namespaced, and let lib.php inherit from that class.
File lib.php contains hooks that are hardcoded to be fired in Moodle core. Its already a moodle structural file, what can we do?
This would help with organising the class structure and help with coverage tests.
classes
shouldn't be involved in coverage tests as they can be web urls, not really testable by phpunit (but by behat yes)One way to achieve that is to move all the contents to classes/local/odessa.php , properly namespaced, and let lib.php inherit from that class.