Bug 999518 - Don't hit the production FxA server during mochitests. r=froydnj, a=test-only
authorMark Hammond <mhammond@skippinet.com.au>
Sat, 10 May 2014 09:23:17 +1000
changeset 192267 2c4e64ce090e
parent 192266 a7b30030153c
child 192268 ee16a6a74667
push id3553
push userryanvm@gmail.com
push date2014-05-13 21:15 +0000
Treeherderresults
reviewersfroydnj, test-only
bugs999518
milestone30.0
Bug 999518 - Don't hit the production FxA server during mochitests. r=froydnj, a=test-only
testing/profiles/prefs_general.js
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -179,8 +179,13 @@ user_pref('browser.contentHandlers.types
 user_pref('browser.contentHandlers.types.1.uri', 'http://test1.example.org/rss?url=%%s')
 user_pref('browser.contentHandlers.types.2.uri', 'http://test1.example.org/rss?url=%%s')
 user_pref('browser.contentHandlers.types.3.uri', 'http://test1.example.org/rss?url=%%s')
 user_pref('browser.contentHandlers.types.4.uri', 'http://test1.example.org/rss?url=%%s')
 user_pref('browser.contentHandlers.types.5.uri', 'http://test1.example.org/rss?url=%%s')
 
 // We want to collect telemetry, but we don't want to send in the results.
 user_pref('toolkit.telemetry.server', 'https://%(server)s/telemetry-dummy/');
+
+// We don't want to hit the real Firefox Accounts server for tests.  We don't
+// actually need a functioning FxA server, so just set it to something that
+// resolves and accepts requests, even if they all fail.
+user_pref('identity.fxaccounts.auth.uri', 'https://%(server)s/fxa-dummy/');