commit a5b2a5c8b9e65c557d5244a53584c4fc79c04d8b
parent 980394bf0b3e39623cf397ce6db5a6db240e8fc6
Author: William Casarin <jb55@jb55.com>
Date: Fri, 23 Jun 2023 20:30:14 +0200
tests: disable invalid tests
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/damusTests/RequestTests.swift b/damusTests/RequestTests.swift
@@ -17,6 +17,7 @@ final class RequestTests: XCTestCase {
XCTAssertEqual(result, expectedResult)
}
+ /* FIXME: these tests depend on order of json fields which is undefined
func testMakePushEvent() {
let now = Int64(Date().timeIntervalSince1970)
let event = NostrEvent(id: "59c1cf11a3e9e128c6fd5402f41e8ae0c0c7fbab570203d7410518be68c3115f",
@@ -36,4 +37,5 @@ final class RequestTests: XCTestCase {
let expectedResult = "[\"REQ\",\"31C737B7-C8F9-41DD-8707-325974F279A4\",{\"kinds\":[3],\"authors\":[\"d9fa34214aa9d151c4f4db843e9c2af4f246bab4205137731f91bcfa44d66a62\"],\"limit\":1}]"
XCTAssertEqual(result, expectedResult)
}
+ */
}