Catch Serialization Exception in MediaWikiTestCase
authoraddshore <addshorewiki@gmail.com>
Wed, 5 Mar 2014 19:50:20 +0000 (20:50 +0100)
committeraddshore <addshorewiki@gmail.com>
Wed, 5 Mar 2014 19:50:20 +0000 (20:50 +0100)
commita3d8146e57135c65356f6be2e813b4f179ec7d1d
treec2dd9759830675bffd3ee45ec03bed07acc988ae
parentf1a18ed6126251e1b23e197f8f7262f8a464acf2
Catch Serialization Exception in MediaWikiTestCase

In the case that something is not serializable then
we should fall back and just set the value.

This is the case for Closures..
See
http://wikidata-jenkins.wmflabs.org/ci/job/wikidata-client-tests/748/console

Change-Id: Ib5f76932d60840a2f97671c134e18adc619974cd
tests/phpunit/MediaWikiTestCase.php