Skip to content

Commit

Permalink
Formatting and fix checkCode issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
sufyanAbbasi committed Mar 1, 2024
1 parent c9149e9 commit a32f89f
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ import com.google.android.ground.ui.common.Navigator
import com.sharedtest.FakeData
import com.squareup.picasso.Picasso
import dagger.hilt.android.testing.HiltAndroidTest
import javax.inject.Inject
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.advanceUntilIdle
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.ParameterizedRobolectricTestRunner
import org.robolectric.RobolectricTestRunner
import javax.inject.Inject

abstract class AbstractHomeScreenFragmentTest : BaseHiltTest() {

Expand Down Expand Up @@ -130,15 +130,6 @@ class HomeScreenFragmentTest : AbstractHomeScreenFragmentTest() {
mapOf(Pair(FakeData.USER.email, "data-collector"))
)

private val surveyWithTileSources: Survey =
surveyWithoutBasemap.copy(
tileSources =
listOf(
TileSource("http://google.com", TileSource.Type.MOG_COLLECTION),
),
id = "SURVEY_WITH_TILE_SOURCES"
)

@Test
fun `offline map imagery menu is always enabled`() = runWithTestDispatcher {
surveyRepository.selectedSurveyId = surveyWithoutBasemap.id
Expand Down

0 comments on commit a32f89f

Please sign in to comment.