Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a5b3e2f authored by Sundeep Ghuman's avatar Sundeep Ghuman
Browse files

Fix failing WifiNetworkScoreCacheTest.

There was a NPE thrown by an unintialized mock.

Bug: 33818187
Test: Android unit tests
Change-Id: I478885dcebaf41f93488a6a12bb83652ad462be5
parent 425af45d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -71,8 +71,7 @@ public class WifiNetworkScoreCacheTest {
    private Handler mHandler;
    private List<ScoredNetwork> mUpdatedNetworksCaptor;
    private ScoredNetwork mValidScoredNetwork;
    private WifiNetworkScoreCache mScoreCache =
                new WifiNetworkScoreCache(mockContext);
    private WifiNetworkScoreCache mScoreCache;

    private static ScanResult buildScanResult(String ssid, String bssid) {
        return new ScanResult(