diff --git a/screenshot-testing-plugin/src/main/kotlin/com/facebook/testing/screenshot/build/ScreenshotsPlugin.kt b/screenshot-testing-plugin/src/main/kotlin/com/facebook/testing/screenshot/build/ScreenshotsPlugin.kt index 46c73cd3..f167cf19 100644 --- a/screenshot-testing-plugin/src/main/kotlin/com/facebook/testing/screenshot/build/ScreenshotsPlugin.kt +++ b/screenshot-testing-plugin/src/main/kotlin/com/facebook/testing/screenshot/build/ScreenshotsPlugin.kt @@ -74,7 +74,6 @@ class ScreenshotsPlugin : Plugin { val androidTest = (variant as? HasAndroidTest)?.androidTest if (androidTest != null) { generateTasksFor(androidTest) - androidTest.instrumentationRunner androidTest.instrumentationRunner.set(TEST_RUNNER_CLASS) androidTest.instrumentationRunnerArguments.put("SCREENSHOT_TESTS_RUN_ID", SCREENSHOT_TESTS_RUN_ID) }