mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-07-30 19:46:17 +00:00
test(geode): match renamed relay NAME "Geode" in NIP-11 assertion
Commit 270d229d renamed the relay's RelayInfo.NAME constant from "geode" to
"Geode" but left KtorRelayTest asserting the old lowercase value, failing the
pre-push test gate. Align the assertion with the source constant.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SXRAunSJS2dBx7B79qTMew
This commit is contained in:
@@ -137,7 +137,7 @@ class KtorRelayTest {
|
||||
assertEquals(200, it.code)
|
||||
val body = it.body.string()
|
||||
val info = Nip11RelayInformation.fromJson(body)
|
||||
assertEquals("geode", info.name)
|
||||
assertEquals("Geode", info.name)
|
||||
assertTrue(info.supported_nips!!.contains("11"), "NIP-11 must be advertised")
|
||||
assertTrue(info.supported_nips!!.contains("1"), "NIP-01 must be advertised")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user