We are moving the project to Yii2, codefile on yii2 is configured.
All configs of the web application and connection to the database are configured.
Simple functional tests work, for example:
We changed the authorization method in YII itself, the external module Client_authorize is called in the afterLogin method.
Client_authorize is our old authorization module. The test refuses to see it, throws an exception "[Error] Class 'Client_authorize' not found".
If in the file "_bootstrap.php" write:
include ROOT. 'modules/authorize/client_authorize.php';
Autoload :: addNamespace('', '/vagrant/modules/authorize/');
Autoload :: load(Client_authorize::class);
Then, when the test is run, the contents of the file "client_authorize.php"