Commit 7c770f70 authored by Jérôme Lebel's avatar Jérôme Lebel Committed by Commit Bot

[iOS] Removing unity flag check in GoogleServices settings EarlGrey tests

Removing unity flag check in GoogleServices settings EarlGrey tests.

Bug: 951313
Change-Id: Iff3c3fbd1ec285ba05fc9efc838c8fbe904255b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1813333
Commit-Queue: Jérôme Lebel <jlebel@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699852}
parent 345d7377
...@@ -92,7 +92,6 @@ source_set("eg_tests") { ...@@ -92,7 +92,6 @@ source_set("eg_tests") {
"//components/prefs", "//components/prefs",
"//components/strings", "//components/strings",
"//components/sync", "//components/sync",
"//components/unified_consent",
"//ios/chrome/app:app_internal", "//ios/chrome/app:app_internal",
"//ios/chrome/app/strings", "//ios/chrome/app/strings",
"//ios/chrome/browser", "//ios/chrome/browser",
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#import <XCTest/XCTest.h> #import <XCTest/XCTest.h>
#include "components/prefs/pref_service.h" #include "components/prefs/pref_service.h"
#include "components/unified_consent/feature.h"
#import "ios/chrome/app/main_controller.h" #import "ios/chrome/app/main_controller.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h" #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#import "ios/chrome/browser/tabs/tab_model.h" #import "ios/chrome/browser/tabs/tab_model.h"
...@@ -65,13 +64,6 @@ TabModel* GetNormalTabModel() { ...@@ -65,13 +64,6 @@ TabModel* GetNormalTabModel() {
@implementation GoogleServicesSettingsTestCase @implementation GoogleServicesSettingsTestCase
- (void)setUp {
[super setUp];
CHECK(unified_consent::IsUnifiedConsentFeatureEnabled())
<< "This test suite must be run with Unified Consent feature enabled.";
}
// Opens the Google services settings view, and closes it. // Opens the Google services settings view, and closes it.
- (void)testOpenGoogleServicesSettings { - (void)testOpenGoogleServicesSettings {
[self openGoogleServicesSettings]; [self openGoogleServicesSettings];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment