View Issue Details

IDProjectCategoryView StatusLast Update
0021696mantisbttoolspublic2016-10-02 18:41
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version1.3.2Fixed in Version1.3.2 
Summary0021696: Allow PHPUnit to capture Mantis-specific errors
Description

Due to our custom error handler, it is currently not possible for PHPUnit to capture PHP system errors, as well as our own E_USER_ERRORs as exceptions.

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master-1.3.x 7e43fcb5

2016-09-11 08:01

dregad


Details Diff
Tests: restore error handler after Mantis core init

We need to disable MantisBT's error handler to allow PHPUnit to convert
errors to exceptions, so we can capture and test them.

Fixes 0021696
Affected Issues
0021696
mod - tests/TestConfig.php Diff File