Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3085f01f authored by Mike Schneider's avatar Mike Schneider Committed by Android (Google) Code Review
Browse files

Merge "Fold [GoldenImagePathManager] into [GoldenPathManager] #cleanup" into main

parents 720bdde5 b7c80a54
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ import kotlinx.coroutines.flow.update
import platform.test.screenshot.DeviceEmulationSpec
import platform.test.screenshot.DisplaySpec
import platform.test.screenshot.FragmentScreenshotTestRule
import platform.test.screenshot.GoldenImagePathManager
import platform.test.screenshot.GoldenPathManager
import platform.test.screenshot.matchers.PixelPerfectMatcher

class Injector(step: FingerprintNavigationStep.UiStep) {
@@ -154,7 +154,7 @@ class Injector(step: FingerprintNavigationStep.UiStep) {
    fun BiometricFragmentScreenShotRule() =
      FragmentScreenshotTestRule(
        DeviceEmulationSpec.forDisplays(Phone).first(),
        GoldenImagePathManager(
        GoldenPathManager(
          InstrumentationRegistry.getInstrumentation().context,
          InstrumentationRegistry.getInstrumentation().targetContext.filesDir.absolutePath +
            screenshotPath,