mirror of
https://github.com/bitwarden/android.git
synced 2024-11-22 17:36:01 +03:00
Use JUnit 5 @AfterEach instead of JUnit 4 @After (#479)
This commit is contained in:
parent
0d3038a717
commit
a6b2357fb0
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import com.x8bit.bitwarden.data.platform.datasource.network.core.ResultCallAdapt
|
|||
import com.x8bit.bitwarden.data.platform.datasource.network.di.PlatformNetworkModule
|
||||
import okhttp3.MediaType.Companion.toMediaType
|
||||
import okhttp3.mockwebserver.MockWebServer
|
||||
import org.junit.After
|
||||
import org.junit.jupiter.api.AfterEach
|
||||
import retrofit2.Retrofit
|
||||
|
||||
/**
|
||||
|
@ -23,7 +23,7 @@ abstract class BaseServiceTest {
|
|||
.addConverterFactory(json.asConverterFactory("application/json".toMediaType()))
|
||||
.build()
|
||||
|
||||
@After
|
||||
@AfterEach
|
||||
fun after() {
|
||||
server.shutdown()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue