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

Commit cc8607d9 authored by William Escande's avatar William Escande
Browse files

Add stub on mock context for sqlite

Ignore-AOSP-First: Migration is only in qpr
Test: atest BluetoothInstrumentationTests
Bug: 254325296
Change-Id: Icddeda5b81e1a5b4741d7a5a026f2504cd489675
parent 7f8e3f67
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ public class DataMigrationTest {

        mMockContentResolver = new MockContentResolver(mTargetContext);
        when(mMockContext.getContentResolver()).thenReturn(mMockContentResolver);
        when(mMockContext.getCacheDir()).thenReturn(mTargetContext.getCacheDir());

        when(mMockContext.getSharedPreferences(anyString(), anyInt())).thenReturn(mPrefs);