Skip to content

Commit

Permalink
chore: update tests to use new DevCycleOptions properties
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalkapasi committed Apr 24, 2024
1 parent ecd4d05 commit 2e5c726
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DevCycleTests/Models/DevCycleOptionsTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class DevCycleOptionsTest: XCTestCase {

func testBuilderReturnsOptions() {
let options = DevCycleOptions.builder()
.disableEventLogging(false)
.disableAutomaticEventLogging(false)
.disableCustomEventLogging(false)
.eventFlushIntervalMS(1000)
.enableEdgeDB(true)
.configCacheTTL(172800000)
Expand All @@ -28,7 +29,8 @@ class DevCycleOptionsTest: XCTestCase {
.build()
XCTAssertNotNil(options)
XCTAssert(options.eventFlushIntervalMS == 1000)
XCTAssertFalse(options.disableEventLogging!)
XCTAssertFalse(options.disableAutomaticEventLogging)
XCTAssertFalse(options.disableCustomEventLogging)
XCTAssert(options.enableEdgeDB)
XCTAssert(options.configCacheTTL == 172800000)
XCTAssert(options.disableConfigCache)
Expand Down

0 comments on commit 2e5c726

Please sign in to comment.