Skip to content

Commit

Permalink
moodlehq#128 - fixing db prefix for phpunit and behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpahullo committed Aug 10, 2021
1 parent fcbb797 commit 90fdf81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions res/template/config.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ $CFG->noemailever = true;
$CFG->noreplyaddress = '[email protected]';

// PHPUnit settings.
$CFG->phpunit_prefix = 'phpu_';
$CFG->phpunit_prefix = 'p_';
$CFG->phpunit_dataroot = '{{PHPUNITDATAROOT}}';

// Behat settings.
$CFG->behat_prefix = 'behat_';
$CFG->behat_prefix = 'b_';
$CFG->behat_dataroot = '{{BEHATDATAROOT}}';
$CFG->behat_wwwroot = '{{BEHATWWWROOT}}';
$CFG->behat_faildump_path = '{{BEHATDUMP}}';
Expand Down
4 changes: 2 additions & 2 deletions tests/Fixture/example-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
$CFG->noreplyaddress = '[email protected]';

// PHPUnit settings.
$CFG->phpunit_prefix = 'phpu_';
$CFG->phpunit_prefix = 'p_';
$CFG->phpunit_dataroot = '/path/to/moodledata/phpu_moodledata';

// Behat settings.
$CFG->behat_prefix = 'behat_';
$CFG->behat_prefix = 'b_';
$CFG->behat_dataroot = '/path/to/moodledata/behat_moodledata';
$CFG->behat_wwwroot = 'http://localhost:8000';
$CFG->behat_faildump_path = '/path/to/moodledata/behat_dump';
Expand Down

0 comments on commit 90fdf81

Please sign in to comment.