1
0
mirror of git://jb55.com/damus synced 2024-09-05 21:03:51 +00:00

tests: disable invalid tests

This commit is contained in:
William Casarin 2023-06-23 20:30:14 +02:00
parent 980394bf0b
commit a5b2a5c8b9

View File

@ -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)
}
*/
}