View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021696 | mantisbt | tools | public | 2016-09-17 12:44 | 2016-10-02 18:41 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 1.3.2 | Fixed in Version | 1.3.2 | ||
Summary | 0021696: 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. | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.3.x 7e43fcb5 2016-09-11 08:01 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 |