Hi Matthias,
You can compare Initializing PHPUnit tests with initializing a Moodle site the very first time. When you install a program, there is only one user: the admin who installs the program, and (most) capabilities are not yet defined nor configured. So you cannot use your capabilities in your install.php file, because they will only be available after this script and access.php have been run.
R
You can compare Initializing PHPUnit tests with initializing a Moodle site the very first time. When you install a program, there is only one user: the admin who installs the program, and (most) capabilities are not yet defined nor configured. So you cannot use your capabilities in your install.php file, because they will only be available after this script and access.php have been run.
R