- Clone https://github.com/humhub/humhub
- Clone tracker module files to
protected/modules/tracker/ - Create
tracker\tests\config-local.phpand configuredbandurlManagercomponents. For example:
<?php
return [
'components' => [
'urlManager' => [
'baseUrl' => 'http://localhost/humhub',
'hostInfo' => 'http://localhost/humhub',
],
'db' => [
'dsn' => 'mysql:host=localhost;dbname=humhub_test',
'username' => 'root',
'password' => '123',
'charset' => 'utf8',
],
],
];- cd to
protected/modules/tracker/ - run
php yii_test migrate/up --includeModuleMigrations=1 --interactive=0 - run
php yii_test installer/auto - run
php yii_test migrate/up -p=migrations --interactive=0 - run
codecept run