From aab9e97a25649e7de93adb47583d6bfee8b8f8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Fri, 1 Dec 2023 21:26:47 +0000 Subject: [PATCH] Fix test target build error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unit tests ----------- Device: iPhone 15 Pro simulator iOS: 17.0.1 Damus: This commit Steps: Run unit tests Result: No regressions found (Tests either pass or they were already failing before the patches) Signed-off-by: Daniel D’Aquino Signed-off-by: William Casarin --- damusTests/ZapTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/damusTests/ZapTests.swift b/damusTests/ZapTests.swift index 25415e39..727d829d 100644 --- a/damusTests/ZapTests.swift +++ b/damusTests/ZapTests.swift @@ -68,8 +68,8 @@ final class ZapTests: XCTestCase { XCTAssertEqual(zap.zapper, zapper) XCTAssertEqual(zap.target, ZapTarget.profile(profile)) - XCTAssertEqual(zap_notification_title(zap), "Zap") - XCTAssertEqual(zap_notification_body(profiles: Profiles(ndb: test_damus_state.ndb), zap: zap), "You received 1k sats from 107jk7ht:2quqncxg") + XCTAssertEqual(NotificationFormatter.zap_notification_title(zap), "Zap") + XCTAssertEqual(NotificationFormatter.zap_notification_body(profiles: Profiles(ndb: test_damus_state.ndb), zap: zap), "You received 1k sats from 107jk7ht:2quqncxg") } }