Fix ApplicationTest
This commit is contained in:
parent
62f3ffba39
commit
584dfc552a
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue