Skip to content

Commit 7a5903a

Browse files
author
Josh Deffibaugh
committed
Also clear the datafile for MainActivity espresso tests
1 parent c858310 commit 7a5903a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/src/androidTest/java/com/optimizely/ab/android/test_app/MainActivityEspressoTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public void setupStorage() {
4848
// Clear sticky bucketing
4949
context = InstrumentationRegistry.getTargetContext();
5050
context.deleteFile("optly-user-experiment-record-7664231436.json");
51+
context.deleteFile("optly-data-file-7664231436.json");
5152
// Set the user's id to the test user that is in the whitelist.
5253
context.getSharedPreferences("user", Context.MODE_PRIVATE).edit()
5354
.putString("userId", "test_user")

0 commit comments

Comments
 (0)