commit 0091df8f779a9e6f7abc9ad71219b162e50d3f83
parent d0c67237dd1f483fa726b0dd541e43e7bf4b7b8a
Author: William Casarin <jb55@jb55.com>
Date: Sun, 14 May 2023 00:31:30 -0700
nwc: fix broken test
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damusTests/WalletConnectTests.swift b/damusTests/WalletConnectTests.swift
@@ -65,7 +65,7 @@ final class WalletConnectTests: XCTestCase {
XCTAssertEqual(pool.our_descriptors.count, 0)
XCTAssertEqual(pool.all_descriptors.count, 1)
- XCTAssertEqual(pool.all_descriptors[0].info.ephemeral, true)
+ XCTAssertEqual(pool.all_descriptors[0].variant, .nwc)
XCTAssertEqual(pool.all_descriptors[0].url.id, "ws://127.0.0.1")
XCTAssertEqual(box.events.count, 1)
let ev = box.events.first!.value