MantisBT: master-1.2.x 593e34d1

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2013-05-24 13:18 master-1.2.x a8d9c2f2
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