Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Feb 16, 2024
1 parent 8836a98 commit eea5d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PostHogTests/PostHogSDKTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ class PostHogSDKTest: QuickSpec {
let mockNow = MockDate()
sut.now = { mockNow.date }

sut.handleAppDidEnterBackground() // Background "timer": 0 mins
sut.capture("event captured with session")

var events = getBatchedEvents(server)
expect(events.count) == 1
Expand All @@ -669,7 +669,7 @@ class PostHogSDKTest: QuickSpec {
server = MockPostHogServer()
server.start()

sut.capture("event captured while in background")
sut.capture("event captured w/o session")

events = getBatchedEvents(server)
expect(events.count) == 1
Expand Down

0 comments on commit eea5d0d

Please sign in to comment.