MantisBT: master-1.2.x 14695316

Author Committer Branch Timestamp Parent
rombert rombert master-1.2.x 2009-10-29 04:27 master-1.2.x 00a4d6cb
Changeset

Allow SOAP tests to delete issues on tearDown

Until now deletion of issues created in tests was done manually, which
had the disadvantage of not being executed unless the test did not throw
an exception. Then the test fails, the issue is not deleted.

This commit introduces a deleteAfterRun method in the SoapBase class
which allows tests to register a issue id to be deleted. The issues
are then deleted on tearDown, which runs even if an assertion has
failed when the test is executed.

mod - tests/soap/SoapBase.php Diff File