diff --git a/Tests/NostrSDKTests/EventCreatingTests.swift b/Tests/NostrSDKTests/EventCreatingTests.swift index be0eec2..97ec39d 100644 --- a/Tests/NostrSDKTests/EventCreatingTests.swift +++ b/Tests/NostrSDKTests/EventCreatingTests.swift @@ -575,7 +575,7 @@ final class EventCreatingTests: XCTestCase, EventCreating, EventVerifying, Fixtu XCTAssertEqual(calendar.identifier, identifier) XCTAssertEqual(calendar.title, title) XCTAssertEqual(calendar.content, description) - XCTAssertEqual(calendar.calendarEvents, [dateBasedCalendarEventCoordinates, timeBasedCalendarEventCoordinates]) + XCTAssertEqual(calendar.calendarEventCoordinateList, [dateBasedCalendarEventCoordinates, timeBasedCalendarEventCoordinates]) try verifyEvent(calendar) } @@ -589,7 +589,7 @@ final class EventCreatingTests: XCTestCase, EventCreating, EventVerifying, Fixtu XCTAssertEqual(calendar.identifier, identifier) XCTAssertEqual(calendar.title, title) XCTAssertEqual(calendar.content, description) - XCTAssertEqual(calendar.calendarEvents, []) + XCTAssertEqual(calendar.calendarEventCoordinateList, []) try verifyEvent(calendar) } diff --git a/Tests/NostrSDKTests/EventDecodingTests.swift b/Tests/NostrSDKTests/EventDecodingTests.swift index b97bac5..6f2a16b 100644 --- a/Tests/NostrSDKTests/EventDecodingTests.swift +++ b/Tests/NostrSDKTests/EventDecodingTests.swift @@ -474,7 +474,7 @@ final class EventDecodingTests: XCTestCase, FixtureLoading { let pubkey = try XCTUnwrap(PublicKey(hex: "9947f9659dd80c3682402b612f5447e28249997fb3709500c32a585eb0977340")) XCTAssertEqual( - event.calendarEvents, + event.calendarEventCoordinateList, [ EventCoordinates(kind: .dateBasedCalendarEvent, pubkey: pubkey, identifier: "D5EB0A5A-0B36-44DB-95C3-DB51799894E6"), EventCoordinates(kind: .timeBasedCalendarEvent, pubkey: pubkey, identifier: "1D355ED3-A45D-41A9-B3A5-709211794EFB")