Skip to content

Commit

Permalink
fix: timer test (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew authored Jan 27, 2025
1 parent bc418c3 commit 5341e5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/UnleashProxyClientSwiftTests/PollerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ final class PollerTests: XCTestCase {
refreshInterval: 0,
unleashUrl: unleashUrl,
apiKey: apiKey,
session: MockPollerSession()
session: MockPollerSession(),
appName: appName,
connectionId: connectionId
)

XCTAssertNil(poller.timer, "Timer should not be initialized when refreshInterval is zero")
Expand Down

0 comments on commit 5341e5c

Please sign in to comment.