You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/core/src/test/java/com/onesignal/session/internal/outcomes/OutcomeEventsRepositoryTests.kt
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -171,13 +171,15 @@ class OutcomeEventsRepositoryTests : FunSpec({
171
171
OutcomeEventsTable.COLUMN_NAME_NAME to "outcomeId1",
172
172
OutcomeEventsTable.COLUMN_NAME_WEIGHT to 0.2f,
173
173
OutcomeEventsTable.COLUMN_NAME_TIMESTAMP to 1111L,
174
+
OutcomeEventsTable.COLUMN_NAME_SESSION_TIME to 1L,
174
175
OutcomeEventsTable.COLUMN_NAME_NOTIFICATION_INFLUENCE_TYPE to "unattributed",
175
176
OutcomeEventsTable.COLUMN_NAME_IAM_INFLUENCE_TYPE to "unattributed",
176
177
),
177
178
mapOf(
178
179
OutcomeEventsTable.COLUMN_NAME_NAME to "outcomeId2",
179
180
OutcomeEventsTable.COLUMN_NAME_WEIGHT to 0.4f,
180
181
OutcomeEventsTable.COLUMN_NAME_TIMESTAMP to 2222L,
182
+
OutcomeEventsTable.COLUMN_NAME_SESSION_TIME to 2L,
181
183
OutcomeEventsTable.COLUMN_NAME_NOTIFICATION_INFLUENCE_TYPE to "indirect",
182
184
OutcomeEventsTable.COLUMN_NAME_NOTIFICATION_IDS to "[\"notificationId1\",\"notificationId2\"]",
183
185
OutcomeEventsTable.COLUMN_NAME_IAM_INFLUENCE_TYPE to "indirect",
@@ -187,6 +189,7 @@ class OutcomeEventsRepositoryTests : FunSpec({
187
189
OutcomeEventsTable.COLUMN_NAME_NAME to "outcomeId3",
188
190
OutcomeEventsTable.COLUMN_NAME_WEIGHT to 0.6f,
189
191
OutcomeEventsTable.COLUMN_NAME_TIMESTAMP to 3333L,
192
+
OutcomeEventsTable.COLUMN_NAME_SESSION_TIME to 3L,
190
193
OutcomeEventsTable.COLUMN_NAME_NOTIFICATION_INFLUENCE_TYPE to "direct",
191
194
OutcomeEventsTable.COLUMN_NAME_NOTIFICATION_IDS to "[\"notificationId3\"]",
192
195
OutcomeEventsTable.COLUMN_NAME_IAM_INFLUENCE_TYPE to "direct",
@@ -205,12 +208,14 @@ class OutcomeEventsRepositoryTests : FunSpec({
0 commit comments