commit aab9e97a25649e7de93adb47583d6bfee8b8f8ac
parent c10ce4b1ba98e7a802a0a7c8d4f025b6fe25b571
Author: Daniel D’Aquino <daniel@daquino.me>
Date: Fri, 1 Dec 2023 21:26:47 +0000
Fix test target build error
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 <daniel@daquino.me>
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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")
}
}