MantisBT: master 8129cd02

Author Committer Branch Timestamp Parent
dregad dregad master 2023-02-17 19:05 master 2c431fdf
Affected Issues  0017121: phpunit FilterTest fail if there are more than 50 issues in the tracker
Changeset

Skip FilterTests if there are too many issues

Some tests can't be completed if there are more Issues in the database
than the maximum number to retrieve (defined in ISSUES_TO_RETRIEVE
constant), because they compare the number of Issues before/after
executing the test, and both lists contain ISSUES_TO_RETRIEVE Issues.

Mark the test case as skipped if getAllProjectsIssues() or getAllProjectsIssueHeaders() return ISSUES_TO_RETRIEVE or more Issues.

Fixes 0017121

mod - tests/soap/FilterTest.php Diff File