MantisBT: master 49d6e7d2

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

New bootstrap variable MANTIS_TESTSUITE_MAX_ISSUES

This replaces the FilterTest::ISSUES_TO_RETRIEVE constant, allowing a
developer to adjust the number of issues to retrieve when executing
FilterTest cases.

This avoids skipped tests when using a local database with more Issues
than the default of 50 (which works fine for TravisCI tests, that start
with an empty DB).

This is a follow-up fix for Issue 0017121.

mod - tests/bootstrap.php.sample Diff File
mod - tests/soap/FilterTest.php Diff File
mod - tests/soap/SoapBase.php Diff File