From 4c9122603c43efcc8f13745e83b9fe79d0d66fc7 Mon Sep 17 00:00:00 2001 From: mcarare <48995920+mcarare@users.noreply.github.com> Date: Tue, 10 Oct 2023 08:58:59 +0300 Subject: [PATCH] Bug 1821005 - Set UI_INJECTION_HOST mode for lint in test. --- .../java/org/mozilla/fenix/lintrules/LicenseDetectorTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla-lint-rules/src/test/java/org/mozilla/fenix/lintrules/LicenseDetectorTest.kt b/mozilla-lint-rules/src/test/java/org/mozilla/fenix/lintrules/LicenseDetectorTest.kt index 2074450921..c05cda1634 100644 --- a/mozilla-lint-rules/src/test/java/org/mozilla/fenix/lintrules/LicenseDetectorTest.kt +++ b/mozilla-lint-rules/src/test/java/org/mozilla/fenix/lintrules/LicenseDetectorTest.kt @@ -53,6 +53,7 @@ class LicenseDetectorTest : LintDetectorTest() { lint() .files(TestFiles.kt(code)) .allowMissingSdk(true) + .testModes(TestMode.UI_INJECTION_HOST) .run() .expect(expectedReport) .expectFixDiffs(expectedFixOutput) @@ -151,4 +152,4 @@ class LicenseDetectorTest : LintDetectorTest() { .expect(expectedReport) .expectFixDiffs(expectedFixOutput) } -} \ No newline at end of file +}