mediawiki.api.test: Remove unused Sinon clocks
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Apr 2014 14:48:01 +0000 (16:48 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Apr 2014 14:48:01 +0000 (16:48 +0200)
Change-Id: I64dcd0a97c94e0b3ba1d6e98d0514e31315a24b9

tests/qunit/suites/resources/mediawiki.api/mediawiki.api.parse.test.js
tests/qunit/suites/resources/mediawiki.api/mediawiki.api.test.js
tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js

index 70bcaf9..cd0db7c 100644 (file)
@@ -1,11 +1,7 @@
 ( function ( mw ) {
        QUnit.module( 'mediawiki.api.parse', QUnit.newMwEnvironment( {
                setup: function () {
-                       this.clock = this.sandbox.useFakeTimers();
                        this.server = this.sandbox.useFakeServer();
-               },
-               teardown: function () {
-                       this.clock.tick( 1 );
                }
        } ) );
 
index 4ee8afa..a93f572 100644 (file)
@@ -1,11 +1,7 @@
 ( function ( mw ) {
        QUnit.module( 'mediawiki.api', QUnit.newMwEnvironment( {
                setup: function () {
-                       this.clock = this.sandbox.useFakeTimers();
                        this.server = this.sandbox.useFakeServer();
-               },
-               teardown: function () {
-                       this.clock.tick( 1 );
                }
        } ) );
 
index e178090..5965ab7 100644 (file)
@@ -1,11 +1,7 @@
 ( function ( mw ) {
        QUnit.module( 'mediawiki.api.watch', QUnit.newMwEnvironment( {
                setup: function () {
-                       this.clock = this.sandbox.useFakeTimers();
                        this.server = this.sandbox.useFakeServer();
-               },
-               teardown: function () {
-                       this.clock.tick( 1 );
                }
        } ) );