Skip to content

Commit 85cbc0d

Browse files
committed
Enable sec on xcuitests
1 parent b7e5689 commit 85cbc0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

firefox-ios/Client/Frontend/Browser/SearchEngines/SearchEngineFlagManager.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ struct SearchEngineFlagManager {
88
/// Whether Search Engine Consolidation is enabled.
99
/// If enabled, search engines are fetched from Remote Settings rather than our pre-bundled XML files.
1010
/// TODO: [FXIOS-13834 & 11403] Remove hardcoded override once UI & unit tests are updated (or deleted)
11-
guard !AppConstants.isRunningUnitTest { return false }
1211
static var isSECEnabled: Bool {
12+
// If you want to disable during unit tests, do it here:
13+
if AppConstants.isRunningUnitTest {
14+
return false
15+
}
1316
// SEC enabled for all users. Related clean-up forthcoming in [FXIOS-11403].
1417
return true
1518
}

0 commit comments

Comments
 (0)