Need to write acceptance tests for Reporter

NEW
Assigned to

Status

Webtools Graveyard
Reporter
--
minor
11 years ago
2 years ago

People

(Reporter: morgamic, Assigned: raccettura)

Tracking

Details

(Reporter)

Description

11 years ago
There are a few test cases we should write functional tests for in SimpleTest or PHPUnit:

* error response on invalid or missing post data (on 0.2 and 0.3)
* RMO id returned on successful post using sysid (on 0.2 and 0.3)
* RMO id returned on successful post without sysid, and sysid returned (on 0.2 and 0.3)

The tests can pull the config.inc.php doc to get the server root, and do a POST transaction using the UA class in either library.  We can make assertions by querying the RMO id manually then comparing it to the app output returned by the UA class.
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.