Drop the composite vercode + repo primary key from apk table

We expect repos to serve multiple apks with the same version code but
different signing certificates in the future.
This commit is contained in:
Peter Serwylo
2017-06-08 13:31:47 +10:00
parent b95a330ccf
commit aa472ba764
2 changed files with 14 additions and 8 deletions

View File

@@ -73,11 +73,6 @@ public class SuggestedVersionTest extends FDroidProviderTest {
assertEquals(3, found3.suggestedVersionCode);
}
/**
* TODO: Failing for two reasons:
* * We don't support suggested versioncode with multi-sig.
* * More importantly, we don't even support multi-sig due to the [appId, vercode, repo] primary key.
*/
@Test
public void singleRepoMultiSig() {
App singleApp = insertApp(context, "single.app", "Single App", 4, "https://simple.repo");