We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ab55a commit bea907dCopy full SHA for bea907d
app/src/test/java/li/klass/fhem/update/backend/device/configuration/DeviceConfigurationProviderTest.kt
@@ -49,11 +49,8 @@ class DeviceConfigurationProviderTest {
49
50
@Test
51
fun should_parse_concatenated_json() {
52
- val file = File(DeviceConfiguration::class.java.getResource("deviceConfiguration.json").toURI())
53
- val content = Resources.toString(file.toURI().toURL(), Charsets.UTF_8)
54
- val result = JSON.parse(DevicesConfiguration::class.serializer(), content)
55
-
56
- assertThat(result).`as`(file.name).isNotNull()
+ val configuration = DeviceConfigurationProvider().configurationFor("FS20")
+ assertThat(configuration).isNotNull()
57
}
58
59
companion object {
0 commit comments