diff --git a/damusTests/Bech32ObjectTests.swift b/damusTests/Bech32ObjectTests.swift index 2583240b..d7e0ee10 100644 --- a/damusTests/Bech32ObjectTests.swift +++ b/damusTests/Bech32ObjectTests.swift @@ -89,16 +89,6 @@ class Bech32ObjectTests: XCTestCase { XCTAssertEqual(expectedObject, actualObject) } - func testTLVParsing_NRelayExample_ValidContent() throws { - let content = "nrelay1qqt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueq4r295t" - let relay = "wss://relay.nostr.band" - - let expectedObject = Bech32Object.nrelay(relay) - let actualObject = Bech32Object.parse(content) - - XCTAssertEqual(expectedObject, actualObject) - } - func testTLVParsing_NaddrExample_ValidContent() throws { let content = "naddr1qqxnzdesxqmnxvpexqunzvpcqyt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueqzypve7elhmamff3sr5mgxxms4a0rppkmhmn7504h96pfcdkpplvl2jqcyqqq823cnmhuld" diff --git a/damusTests/NoteContentViewTests.swift b/damusTests/NoteContentViewTests.swift index f5eeaccc..1939470c 100644 --- a/damusTests/NoteContentViewTests.swift +++ b/damusTests/NoteContentViewTests.swift @@ -409,20 +409,6 @@ class NoteContentViewTests: XCTestCase { assertCompatibleTextHasExpectedString(compatibleText: compatibleText, expected: bech) } - func testMentionStr_Nrelay_ContainsAbbreviated() { - let bech = "nrelay1qqt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueq4r295t" - let compatibleText = createCompatibleText(bech) - - assertCompatibleTextHasExpectedString(compatibleText: compatibleText, expected: "wss://relay.nostr.band") - } - - func testMentionStr_Nrelay_ContainsFullBech32() { - let bech = "nrelay1qqt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueq4r295t" - let compatibleText = createCompatibleText(bech) - - assertCompatibleTextHasExpectedString(compatibleText: compatibleText, expected: bech) - } - func testMentionStr_Naddr_ContainsAbbreviated() { let bech = "naddr1qqxnzdesxqmnxvpexqunzvpcqyt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueqzypve7elhmamff3sr5mgxxms4a0rppkmhmn7504h96pfcdkpplvl2jqcyqqq823cnmhuld" let compatibleText = createCompatibleText(bech) diff --git a/damusTests/damusTests.swift b/damusTests/damusTests.swift index 028fa9f5..4c6d708c 100644 --- a/damusTests/damusTests.swift +++ b/damusTests/damusTests.swift @@ -249,14 +249,6 @@ class damusTests: XCTestCase { XCTAssertEqual(ev.tags[0][1].string(), "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d") } - func testTagGeneration_Nrelay_ContainsRTag() { - let ev = createEventFromContentString("nrelay1qqt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueq4r295t") - - XCTAssertEqual(ev.tags.count, 1) - XCTAssertEqual(ev.tags[0][0].string(), "r") - XCTAssertEqual(ev.tags[0][1].string(), "wss://relay.nostr.band") - } - func testTagGeneration_Naddr_ContainsATag(){ let ev = createEventFromContentString("naddr1qqxnzdesxqmnxvpexqunzvpcqyt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueqzypve7elhmamff3sr5mgxxms4a0rppkmhmn7504h96pfcdkpplvl2jqcyqqq823cnmhuld")