diff --git a/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java b/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java index 3c2577b0..07398d2c 100644 --- a/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java +++ b/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java @@ -176,7 +176,7 @@ public class ApplicationTest extends ApplicationTestCase { 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 b = DatabaseHelper.loadDatabase(context, encryptionKey); assertEquals(0, b.size());