From 2e5c72662961e5a4b5502f79109ebfb5a4ffbaf9 Mon Sep 17 00:00:00 2001 From: Kaushal Kapasi Date: Wed, 24 Apr 2024 18:30:51 -0400 Subject: [PATCH] chore: update tests to use new DevCycleOptions properties --- DevCycleTests/Models/DevCycleOptionsTest.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DevCycleTests/Models/DevCycleOptionsTest.swift b/DevCycleTests/Models/DevCycleOptionsTest.swift index eefe5f5..d602fce 100644 --- a/DevCycleTests/Models/DevCycleOptionsTest.swift +++ b/DevCycleTests/Models/DevCycleOptionsTest.swift @@ -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) @@ -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)