Skip to content

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Greer committed Jan 28, 2025
1 parent 720313b commit 44609c2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void testForegroundCriteriaFetchWhenConditionsMet() throws Exception {
// Initialize with anon activation and foreground fetch enabled
IterableConfig config = new IterableConfig.Builder()
.setEnableAnonActivation(true)
.setForegroundCriteriaFetch(true)
.setEnableForegroundCriteriaFetch(true)
.build();

IterableActivityMonitor.getInstance().unregisterLifecycleCallbacks(getContext());
Expand Down Expand Up @@ -111,7 +111,7 @@ public void testCriteriaFetchNotCalledWhenDisabled() throws Exception {
// Initialize with foreground fetch disabled
IterableConfig config = new IterableConfig.Builder()
.setEnableAnonActivation(true)
.setForegroundCriteriaFetch(false)
.setEnableForegroundCriteriaFetch(false)
.build();

// Initialize API and set visitor tracking
Expand Down Expand Up @@ -152,7 +152,7 @@ public void testForegroundCriteriaFetchWithCooldown() throws Exception {
// Initialize with required config
IterableConfig config = new IterableConfig.Builder()
.setEnableAnonActivation(true)
.setForegroundCriteriaFetch(true)
.setEnableForegroundCriteriaFetch(true)
.build();

IterableActivityMonitor.getInstance().unregisterLifecycleCallbacks(getContext());
Expand Down

0 comments on commit 44609c2

Please sign in to comment.