summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/UploadWizard/tests/qunit/controller/uw.controller.Step.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/UploadWizard/tests/qunit/controller/uw.controller.Step.test.js')
-rw-r--r--www/wiki/extensions/UploadWizard/tests/qunit/controller/uw.controller.Step.test.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/wiki/extensions/UploadWizard/tests/qunit/controller/uw.controller.Step.test.js b/www/wiki/extensions/UploadWizard/tests/qunit/controller/uw.controller.Step.test.js
new file mode 100644
index 00000000..54631f29
--- /dev/null
+++ b/www/wiki/extensions/UploadWizard/tests/qunit/controller/uw.controller.Step.test.js
@@ -0,0 +1,27 @@
+/*
+ * This file is part of the MediaWiki extension DeedWizard.
+ *
+ * DeedWizard is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * DeedWizard is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with DeedWizard. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+( function ( $, mw, uw ) {
+ QUnit.module( 'uw.controller.Step', QUnit.newMwEnvironment() );
+
+ QUnit.test( 'Constructor sanity test', function ( assert ) {
+ var step = new uw.controller.Step( { on: $.noop }, new mw.Api(), {} );
+ assert.ok( step );
+ assert.ok( step.ui );
+ } );
+
+}( jQuery, mediaWiki, mediaWiki.uploadWizard ) );