Skip to content

Commit

Permalink
Remove Inject.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaehwa-Noh committed May 15, 2024
1 parent 98ca6ed commit 727c5ed
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ import androidx.compose.ui.test.performTextInput
import androidx.test.espresso.Espresso
import androidx.test.espresso.NoActivityResumedException
import com.example.flightsearchapp.MainActivity
import com.example.flightsearchapp.data.AirportsFtsRepository
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import javax.inject.Inject
import org.junit.Before
import org.junit.Rule
import org.junit.Test
Expand All @@ -33,9 +31,6 @@ class NavigationTest {
@get:Rule(order = 1)
val composeTestRule = createAndroidComposeRule<MainActivity>()

@Inject
lateinit var airportsFtsRepository: AirportsFtsRepository

@Before
fun setUp() = hiltRule.inject()

Expand Down

0 comments on commit 727c5ed

Please sign in to comment.