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:
committed by
Juan Carlos Garrote
parent
0017079a69
commit
ff90598a2d
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user