Hi there,
I am quite new to moodle and setting up some tests for a plugin (local).
I have the installation script and some capabilities defined within access.php. Within the install.php there are some references to capabilities definew within access.php. As I understand this page it should exactly be done this way
https://docs.moodle.org/dev/Local_plugins
Now when initialising php unit with php admin/tool/phpunit/cli/init.php an errow is thrown because that capabilities are not present (in test database).
Question is, what do I do to make it work? (Except from inserting the capabilities also manually within install.php file.)
Thanks and regards
matthias