| Index: components/ntp_snippets/category_factory_unittest.cc
|
| diff --git a/components/ntp_snippets/category_factory_unittest.cc b/components/ntp_snippets/category_factory_unittest.cc
|
| index 6ffd149b79eeb386ccfda80b2011aff13b52004e..3e592d1bdcc3027920a387f4d9e332025447266f 100644
|
| --- a/components/ntp_snippets/category_factory_unittest.cc
|
| +++ b/components/ntp_snippets/category_factory_unittest.cc
|
| @@ -15,7 +15,10 @@ namespace ntp_snippets {
|
|
|
| class CategoryFactoryTest : public testing::Test {
|
| public:
|
| - CategoryFactoryTest() : unused_remote_category_id_(1) {}
|
| + CategoryFactoryTest()
|
| + : unused_remote_category_id_(
|
| + static_cast<int>(KnownCategories::LAST_KNOWN_REMOTE_CATEGORY) + 1) {
|
| + }
|
|
|
| int GetUnusedRemoteCategoryID() { return unused_remote_category_id_++; }
|
|
|
|
|