Skip to content

Commit

Permalink
Use mock network connection
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-el committed Sep 11, 2023
1 parent 5ac1ae6 commit b3c758a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class LinkDecoratorTest {
fun getTrackerNoSession(): TrackerController {
val context = InstrumentationRegistry.getInstrumentation().targetContext

val networkConfiguration = NetworkConfiguration("fake-url", HttpMethod.POST)
val networkConfiguration = NetworkConfiguration(MockNetworkConnection(HttpMethod.POST, 200))

val trackerConfiguration = TrackerConfiguration("decoratorTest")
.sessionContext(false)
Expand Down

0 comments on commit b3c758a

Please sign in to comment.