qunit: Use sinon sandbox for mediawiki.api.parse.test
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Mar 2014 16:32:37 +0000 (17:32 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Mar 2014 16:32:37 +0000 (17:32 +0100)
commit900b1b29f8de8ca7540ee338b7874987fa788949
tree70dbc77066b1b954773d219466fa2848e8e3b218
parent25bfbf4756bc0cf63bbbb2986aed54c09017140d
qunit: Use sinon sandbox for mediawiki.api.parse.test

This is the last of the mediawiki.api tests that was still making
real requests.

This test had become a parser test for no reason. It is supposed
to test the logic in mediawiki.api.parse which is only:
* making the correct request url
* extract data from response

Change-Id: I9b6eeabe1baa1de7d77623902ef71ba031eb40ac
tests/qunit/suites/resources/mediawiki.api/mediawiki.api.parse.test.js
tests/qunit/suites/resources/mediawiki.api/mediawiki.api.test.js