Skip to content

Commit 44609c2

Browse files
author
Evan Greer
committed
update unit tests
1 parent 720313b commit 44609c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

iterableapi/src/test/java/com/iterable/iterableapi/IterableApiCriteriaFetchTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void testForegroundCriteriaFetchWhenConditionsMet() throws Exception {
7575
// Initialize with anon activation and foreground fetch enabled
7676
IterableConfig config = new IterableConfig.Builder()
7777
.setEnableAnonActivation(true)
78-
.setForegroundCriteriaFetch(true)
78+
.setEnableForegroundCriteriaFetch(true)
7979
.build();
8080

8181
IterableActivityMonitor.getInstance().unregisterLifecycleCallbacks(getContext());
@@ -111,7 +111,7 @@ public void testCriteriaFetchNotCalledWhenDisabled() throws Exception {
111111
// Initialize with foreground fetch disabled
112112
IterableConfig config = new IterableConfig.Builder()
113113
.setEnableAnonActivation(true)
114-
.setForegroundCriteriaFetch(false)
114+
.setEnableForegroundCriteriaFetch(false)
115115
.build();
116116

117117
// Initialize API and set visitor tracking
@@ -152,7 +152,7 @@ public void testForegroundCriteriaFetchWithCooldown() throws Exception {
152152
// Initialize with required config
153153
IterableConfig config = new IterableConfig.Builder()
154154
.setEnableAnonActivation(true)
155-
.setForegroundCriteriaFetch(true)
155+
.setEnableForegroundCriteriaFetch(true)
156156
.build();
157157

158158
IterableActivityMonitor.getInstance().unregisterLifecycleCallbacks(getContext());

0 commit comments

Comments
 (0)