| Index: ios/chrome/browser/ui/settings/content_settings_collection_view_controller_unittest.mm
|
| diff --git a/ios/chrome/browser/ui/settings/content_settings_collection_view_controller_unittest.mm b/ios/chrome/browser/ui/settings/content_settings_collection_view_controller_unittest.mm
|
| index b665cb270e0de289769cbebac13b6f436920a7dc..9a68fe64afeffd613bd19510c06bc0d649cf7081 100644
|
| --- a/ios/chrome/browser/ui/settings/content_settings_collection_view_controller_unittest.mm
|
| +++ b/ios/chrome/browser/ui/settings/content_settings_collection_view_controller_unittest.mm
|
| @@ -44,14 +44,9 @@ TEST_F(ContentSettingsCollectionViewControllerTest, TestModel) {
|
| CheckTitleWithId(IDS_IOS_CONTENT_SETTINGS_TITLE);
|
|
|
| ASSERT_EQ(1, NumberOfSections());
|
| - // Compose Email section is shown only if experiment is turned on and
|
| - // there are enough number of available mailto: URL handlers.
|
| - int number_of_handlers =
|
| - [[[[MailtoURLRewriter alloc] initWithStandardHandlers] defaultHandlers]
|
| - count];
|
| + // Compose Email section is shown only if experiment is turned on.
|
| bool show_compose_email_section =
|
| - experimental_flags::IsNativeAppLauncherEnabled() &&
|
| - number_of_handlers > 1;
|
| + !experimental_flags::IsNativeAppLauncherEnabled();
|
| int expectedNumberOfItems = show_compose_email_section ? 3 : 2;
|
| EXPECT_EQ(expectedNumberOfItems, NumberOfItemsInSection(0));
|
| CheckDetailItemTextWithIds(IDS_IOS_BLOCK_POPUPS, IDS_IOS_SETTING_ON, 0, 0);
|
|
|