MantisBT: master ec331713

Author Committer Branch Timestamp Parent
vboctor vboctor master 2017-04-22 20:13 master 2d043629
Changeset

SOAP: Fix unit tests that were based old behavior

  • Don’t expect ETA fields if not enabled
  • Don’t expect Project fields if not enabled
  • Don’t expect undefined versions to be set on issue.
  • testUpdateWithRareFields() was being skipped when time tracking is disabled, though it is unrelated.
  • Don’t test profile/build/platform fields if disabled.
  • Have default timestamp in bootstrap file to avoid failures in some dev/test envs.
mod - tests/bootstrap.php.sample Diff File
mod - tests/soap/IssueAddTest.php Diff File
mod - tests/soap/IssueUpdateTest.php Diff File