MantisBT: master 367fc283

Author Committer Branch Timestamp Parent
Damien Regad Damien Regad master 2013-05-24 06:18 master acb90212
Changeset

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.

mod - tests/Mantis/HelperTest.php Diff File
mod - tests/Mantis/StringTest.php Diff File
mod - tests/TestConfig.php Diff File