Merge "[Wi-Fi] Fix unit test ssidPref_isSubscription_show" into rvc-dev
diff --git a/tests/robotests/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2Test.java b/tests/robotests/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2Test.java
index 70b232a..8423127 100644
--- a/tests/robotests/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2Test.java
+++ b/tests/robotests/src/com/android/settings/wifi/details2/WifiDetailPreferenceController2Test.java
@@ -723,6 +723,7 @@
     public void ssidPref_isSubscription_show() {
         setUpForConnectedNetwork();
         when(mMockWifiEntry.isSubscription()).thenReturn(true);
+        when(mMockWifiEntry.getSsid()).thenReturn(SSID);
 
         displayAndResume();