Fix unit tests when $wgEmailAuthentication is set to false
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 11 May 2013 20:14:18 +0000 (22:14 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 11 May 2013 20:14:18 +0000 (22:14 +0200)
commit084b429175746cb3b2dbd29efa50a1fd8354c535
treeadb71b161e1b5be48851f4ecb1b913dc5e24e6ad
parent181e0f3ff7e4d8d64085a3388cba723ca60497f9
Fix unit tests when $wgEmailAuthentication is set to false

Since d2a5cf3 (I0b906b23de), 'emailaddress' and 'emailauthentication'
fields don't have any more CSS classes when $wgEmailAuthentication is
set to false which is breaking the tests.

Force $wgEmailAuthentication to true, so that the tests work in all cases.

Change-Id: Idc156f88ff1bc8595009056166f13191cf5c5c25
tests/phpunit/includes/PreferencesTest.php