Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Latest commit

 

History

History
  1. Clone https://github.com/humhub/humhub
  2. Clone tracker module files to protected/modules/tracker/
  3. Create tracker\tests\config-local.php and configure db and urlManager components. 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',
        ],

    ],
];
  1. cd to protected/modules/tracker/
  2. run php yii_test migrate/up --includeModuleMigrations=1 --interactive=0
  3. run php yii_test installer/auto
  4. run php yii_test migrate/up -p=migrations --interactive=0
  5. run codecept run