Tests: Document why processLinks tests are integration tests

Also, mark the test module as @integration.

Change-Id: I83bf8fa3f4bda0dafbe2a2e458fe9dc9ce68f025
This commit is contained in:
joakin 2017-03-02 13:26:06 +01:00 committed by Phuedx
parent 3791f245a7
commit 6fbe64aba6

View file

@ -1,6 +1,13 @@
( function ( mw, $ ) {
QUnit.module( 'ext.popups/processLinks', {
/**
* processLinks QUnit tests remain integration tests given their dependency
* on a running MediaWiki instance with properly configured variables for
* 'wgContentNamespaces', 'wgArticlePath', and other configuration variables
* accessed by `mw.Title`.
*/
QUnit.module( 'ext.popups/processLinks @integration', {
setup: function () {
this.config = new mw.Map();
this.config.set( {