From cb18f4944b09e961cfac311c8f4d4cdbd3b632e9 Mon Sep 17 00:00:00 2001 From: Sammy Cannillo Date: Mon, 29 Jul 2024 14:25:48 -0500 Subject: [PATCH] Fixup - failing unit test --- .../BraintreeCoreTests/Analytics/FPTIBatchData_Tests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnitTests/BraintreeCoreTests/Analytics/FPTIBatchData_Tests.swift b/UnitTests/BraintreeCoreTests/Analytics/FPTIBatchData_Tests.swift index b44a1d3041..9ed00d9f8d 100644 --- a/UnitTests/BraintreeCoreTests/Analytics/FPTIBatchData_Tests.swift +++ b/UnitTests/BraintreeCoreTests/Analytics/FPTIBatchData_Tests.swift @@ -89,8 +89,8 @@ final class FPTIBatchData_Tests: XCTestCase { XCTAssertEqual(batchParams["tokenization_key"] as! String, "fake-auth") // Verify event-level parameters - XCTAssertEqual(eventParams[0]["t"] as? String, "fake-time-1") - XCTAssertEqual(eventParams[1]["t"] as? String, "fake-time-2") + XCTAssertNotNil(eventParams[0]["t"] as? String) + XCTAssertNotNil(eventParams[1]["t"] as? String) XCTAssertEqual(eventParams[0]["event_name"] as? String, "fake-event-1") XCTAssertEqual(eventParams[1]["event_name"] as? String, "fake-event-2") XCTAssertEqual(eventParams[0]["tenant_name"] as? String, "Braintree")