Please sign in to comment.
Tests: added function for globals declaration
MantisBT configs (defined in config_defaults_inc.php) are not defined in the global scope when running PHPUnit. Because of this, including 'core.php' does not work. All 'global' configs must therefore be specifically declared as such when API functions are needed to run tests.
- Loading branch information...
Showing with 56 additions and 6 deletions.