Skip to content

Commit

Permalink
Actually rename the property
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiu committed Dec 22, 2023
1 parent 0abbbf3 commit 39c391e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/NostrSDKTests/EventCreatingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/NostrSDKTests/EventDecodingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 39c391e

Please sign in to comment.