From ea455a148ae8f8e1361268c0de15efb8fa71afb3 Mon Sep 17 00:00:00 2001 From: Bryan Montz Date: Sun, 20 Aug 2023 07:46:47 -0500 Subject: [PATCH] add verifyEvent to tests --- Tests/NostrSDKTests/EventCreatingTests.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/NostrSDKTests/EventCreatingTests.swift b/Tests/NostrSDKTests/EventCreatingTests.swift index 057c92d..e9c5ec3 100644 --- a/Tests/NostrSDKTests/EventCreatingTests.swift +++ b/Tests/NostrSDKTests/EventCreatingTests.swift @@ -79,6 +79,8 @@ final class EventCreatingTests: XCTestCase, EventCreating, EventVerifying { ] XCTAssertEqual(event.tags, expectedTags) + + try verifyEvent(event) } func testCreateContactListEventWithPetnames() throws { @@ -92,6 +94,8 @@ final class EventCreatingTests: XCTestCase, EventCreating, EventVerifying { signedBy: Keypair.test) XCTAssertEqual(event.tags, tags) + + try verifyEvent(event) } func testDirectMessageEvent() throws {