mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 17:18:52 -06:00
UI tests: reset state programmatically
This commit is contained in:
@@ -85,8 +85,8 @@ public class HabitsApplication extends Application
|
||||
|
||||
if (isTestMode())
|
||||
{
|
||||
// File db = DatabaseUtils.getDatabaseFile(context);
|
||||
// if (db.exists()) db.delete();
|
||||
File db = DatabaseUtils.getDatabaseFile(context);
|
||||
if (db.exists()) db.delete();
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user