diff options
Diffstat (limited to 'app/src/androidTest/java')
-rw-r--r-- | app/src/androidTest/java/org/connectbot/StartupTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/androidTest/java/org/connectbot/StartupTest.java b/app/src/androidTest/java/org/connectbot/StartupTest.java index 2dc75dd..6bde448 100644 --- a/app/src/androidTest/java/org/connectbot/StartupTest.java +++ b/app/src/androidTest/java/org/connectbot/StartupTest.java @@ -58,8 +58,7 @@ public class StartupTest { @Before public void makeDatabasePristine() { - HostDatabase db = HostDatabase.get(InstrumentationRegistry.getTargetContext()); - db.resetDatabase(); + HostDatabase.resetInMemoryInstance(InstrumentationRegistry.getTargetContext()); mActivityRule.launchActivity(new Intent()); } |