Fix ApplicationTest

This commit is contained in:
Jakob Nixdorf 2018-01-11 15:26:57 +01:00
parent 62f3ffba39
commit 584dfc552a
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -176,7 +176,7 @@ public class ApplicationTest extends ApplicationTestCase<Application> {
new File(context.getFilesDir() + "/" + Constants.FILENAME_DATABASE).delete();
new File(context.getFilesDir() + "/" + Constants.FILENAME_ENCRYPTED_KEY).delete();
SecretKey encryptionKey = KeyStoreHelper.loadEncryptionKeyFromKeyStore(context);
SecretKey encryptionKey = KeyStoreHelper.loadEncryptionKeyFromKeyStore(context, false);
ArrayList<Entry> b = DatabaseHelper.loadDatabase(context, encryptionKey);
assertEquals(0, b.size());