update default channel

This commit is contained in:
Andre Kirchhoff 2022-02-15 23:50:27 -03:00 committed by GitHub
parent 93fc27aba8
commit 60ef44e3ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,10 +8,10 @@ class ChannelSetTest {
/** make sure we match the python and device code behavior */
@Test
fun matchPython() {
val url = Uri.parse("https://www.meshtastic.org/d/#CgUYAyIBAQ")
val url = Uri.parse("https://www.meshtastic.org/d/#CgUYAiIBAQ")
val cs = ChannelSet(url)
Assert.assertEquals("LongSlow", cs.primaryChannel!!.name, )
Assert.assertEquals("#LongSlow-V", cs.primaryChannel!!.humanName, )
Assert.assertEquals("LongFast", cs.primaryChannel!!.name, )
Assert.assertEquals("#LongFast-I", cs.primaryChannel!!.humanName, )
Assert.assertEquals(url, cs.getChannelUrl(false))
}
}
}