mediawiki.toc.test: Stub $.cookie to avoid test pollution
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 20 May 2014 14:40:55 +0000 (16:40 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 20 May 2014 14:41:35 +0000 (16:41 +0200)
commit95f722fd30d068bc1a0484e5d09baaf098f9440e
tree8b70982284e5999fd4dd07e8ebd505a2a0f5ec2f
parent926f665234e72ea5905bcb239d1f7a32b488f875
mediawiki.toc.test: Stub $.cookie to avoid test pollution

When running the tests locally the mediawiki.toc tests often
fail because where it asserts hidden it is visible, and where it
asserts visible it is hidden (this happens if you've ever closed
a "toc" section on your local wiki, causes the tests to be one-off).

Change-Id: Idc5e7123f3be3e11dac50d76d13089a2fabcfdb5
tests/qunit/suites/resources/mediawiki/mediawiki.toc.test.js