Skip to content

Commit df6c448

Browse files
Merge branch 'master' into coroutines_course_empty_exercises
2 parents 9aef3a2 + bc83bc0 commit df6c448

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/test/java/com/lukaslechner/coroutineusecasesonandroid/usecases/coroutines/usecase3/PerformNetworkRequestsConcurrentlyViewModelTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PerformNetworkRequestsConcurrentlyViewModelTest {
2424
private val receivedUiStates = mutableListOf<UiState>()
2525

2626
@Test
27-
fun `performNetworkRequestsSequentially should return data after 3 times the response delay`() =
27+
fun `performNetworkRequestsSequentially() should load data sequentially`() =
2828
runTest {
2929
val responseDelay = 1000L
3030
val fakeApi = FakeSuccessApi(responseDelay)
@@ -60,7 +60,7 @@ class PerformNetworkRequestsConcurrentlyViewModelTest {
6060
}
6161

6262
@Test
63-
fun `performNetworkRequestsConcurrently should return data after the response delay`() =
63+
fun `performNetworkRequestsConcurrently() should load data concurrently`() =
6464
runTest {
6565
val responseDelay = 1000L
6666
val fakeApi = FakeSuccessApi(responseDelay)
@@ -95,7 +95,7 @@ class PerformNetworkRequestsConcurrentlyViewModelTest {
9595
}
9696

9797
@Test
98-
fun `performNetworkRequestsConcurrently should return Error when network request fails`() =
98+
fun `performNetworkRequestsConcurrently() should return Error when network request fails`() =
9999
runTest {
100100
val responseDelay = 1000L
101101
val fakeApi = FakeErrorApi(responseDelay)

0 commit comments

Comments
 (0)