Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm

Issue 2890193003: Open Most Visited items (Closed)
Patch Set: Fix showcase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm
diff --git a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm
index 9236faca50f78c13761f8650bf4c7767a30c4087..0564dd3330a4fe3982f2c8660fdd241db9702e61 100644
--- a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm
+++ b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm
@@ -39,7 +39,8 @@ TEST(ContentSuggestionsMostVisitedItemTest, Configure) {
item.attributes =
[FaviconAttributes attributesWithMonogram:@"C"
textColor:[UIColor whiteColor]
- backgroundColor:[UIColor blackColor]];
+ backgroundColor:[UIColor blackColor]
+ defaultBackgroundColor:NO];
ContentSuggestionsMostVisitedCell* cell = [[[item cellClass] alloc] init];
id faviconViewMock = OCMPartialMock(cell.faviconView);
OCMExpect([faviconViewMock configureWithAttributes:item.attributes]);

Powered by Google App Engine
This is Rietveld 408576698