mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 17:17:03 +05:30
model: don't unit test against the live server
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
76f613f82f
commit
e504a2c591
3 changed files with 22 additions and 2 deletions
|
@ -22,7 +22,8 @@ class LobstersApiTest {
|
|||
private val okHttp = ApiModule.provideClient()
|
||||
private val retrofit = ApiModule.provideRetrofit(
|
||||
{ okHttp },
|
||||
{ MoshiModule.provideMoshi() }
|
||||
{ MoshiModule.provideMoshi() },
|
||||
"http://localhost:8080/"
|
||||
)
|
||||
private val apiClient = ApiModule.provideApi(retrofit)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue