Index: components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java |
diff --git a/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java b/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java |
index 5415c9fa1d9d7040a185673c17a57aff8fd07f8f..00d8749fd993ccc81729a4c68e59a8651f21108b 100644 |
--- a/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java |
+++ b/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java |
@@ -53,7 +53,9 @@ public class VariationsSeedFetcherTest { |
ThreadUtils.setUiThread(mock(Looper.class)); |
mFetcher = spy(VariationsSeedFetcher.get()); |
mConnection = mock(HttpURLConnection.class); |
- doReturn(mConnection).when(mFetcher).getServerConnection(""); |
+ doReturn(mConnection) |
+ .when(mFetcher) |
+ .getServerConnection(VariationsSeedFetcher.VariationsPlatform.ANDROID, ""); |
mPrefs = ContextUtils.getAppSharedPreferences(); |
mPrefs.edit().clear().apply(); |
} |