add MockWebServer dependence
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
41f037a31f
commit
a72f27340c
@ -9,6 +9,8 @@ dependencies {
|
|||||||
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
|
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
|
||||||
implementation("com.squareup.retrofit2:converter-gson:$retrofitVersion")
|
implementation("com.squareup.retrofit2:converter-gson:$retrofitVersion")
|
||||||
|
|
||||||
|
// mock server response
|
||||||
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.1")
|
||||||
// use JUnit test framework
|
// use JUnit test framework
|
||||||
testImplementation("junit:junit:4.12")
|
testImplementation("junit:junit:4.12")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user