mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-18 20:59:48 -04:00
[app] adapt to new AppPrefs constructor
This commit is contained in:
@@ -135,7 +135,7 @@ public class SuggestedVersionTest {
|
||||
assertEquals("Installed signature on Apk", app.installedSigner, suggestedApk.signer);
|
||||
}
|
||||
assertTrue(app.canAndWantToUpdate(suggestedApk));
|
||||
AppPrefs appPrefs = new AppPrefs(app.packageName, 0, Collections.singletonList(releaseChannel));
|
||||
AppPrefs appPrefs = new AppPrefs(app.packageName, 0, null, Collections.singletonList(releaseChannel));
|
||||
assertEquals(hasUpdates, app.hasUpdates(apks, appPrefs));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ import java.util.List;
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
public class AppDetailsAdapterTest {
|
||||
|
||||
private final AppPrefs appPrefs = new AppPrefs("com.example.app", 0, null);
|
||||
private final AppPrefs appPrefs = new AppPrefs("com.example.app", 0, null, null);
|
||||
private Context context;
|
||||
|
||||
@Before
|
||||
|
||||
Reference in New Issue
Block a user