1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-11 16:33:03 +00:00

Rename WebFinger classes to make them consistent

This commit is contained in:
Abel García de Prada
2023-03-08 16:38:46 +01:00
committed by Juan Carlos Garrote
parent 0017079a69
commit ff90598a2d
5 changed files with 21 additions and 21 deletions
@@ -8,15 +8,15 @@ import org.junit.Before
import org.junit.Test
import java.io.File
class WebfingerResponseTest {
lateinit var adapter: JsonAdapter<WebfingerJrdResponse>
class WebFingerResponseTest {
lateinit var adapter: JsonAdapter<WebFingerResponse>
private fun loadResponses(fileName: String) = adapter.fromJson(File(fileName).readText())
@Before
fun prepare() {
val moshi = Moshi.Builder().build()
adapter = moshi.adapter(WebfingerJrdResponse::class.java)
adapter = moshi.adapter(WebFingerResponse::class.java)
}
@Test