Skip to content

Commit

Permalink
add verifyEvent to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmontz committed Aug 20, 2023
1 parent 8518c92 commit ea455a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/NostrSDKTests/EventCreatingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ final class EventCreatingTests: XCTestCase, EventCreating, EventVerifying {
]

XCTAssertEqual(event.tags, expectedTags)

try verifyEvent(event)
}

func testCreateContactListEventWithPetnames() throws {
Expand All @@ -92,6 +94,8 @@ final class EventCreatingTests: XCTestCase, EventCreating, EventVerifying {
signedBy: Keypair.test)

XCTAssertEqual(event.tags, tags)

try verifyEvent(event)
}

func testDirectMessageEvent() throws {
Expand Down

0 comments on commit ea455a1

Please sign in to comment.