View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022001 | mantisbt | api soap | public | 2016-12-01 10:55 | 2018-03-31 20:06 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 1.2.0 | ||||
Summary | 0022001: FilterTest::testGetProjectClosedIssues should fail but does not | ||||
Description | The test verifies that mc_project_get_issues() works properly by comparing the number of issues returned before and after creating a new issue with closed status. It currently (confirmed with 2.0.x/0c990fea7) succeeds despite the fact that closed issues are NOT returned by mc_project_get_issues() unless $g_hide_status_default == META_FILTER_NONE. The reason for the false positive is that the test issue created in the unit test [1] is in fact NOT created with status 'closed'. [1] https://github.com/mantisbt/mantisbt/blob/release-2.0.0-rc.2/tests/soap/FilterTest.php#L350 | ||||
Tags | No tags attached. | ||||
PR https://github.com/mantisbt/mantisbt/pull/965 Note that this will cause the PHPUnit tests to fail with default settings for $g_hide_status_default, until 0021996 has been fixed. |
|