Index: chrome/browser/resources/google_now/background_unittest.gtestjs |
diff --git a/chrome/browser/resources/google_now/background_unittest.gtestjs b/chrome/browser/resources/google_now/background_unittest.gtestjs |
index 6a6f1259b980213703e1446bdf2804f8098a26cd..a9578a890bd8b9131f57c5d8582b945a21e006a2 100644 |
--- a/chrome/browser/resources/google_now/background_unittest.gtestjs |
+++ b/chrome/browser/resources/google_now/background_unittest.gtestjs |
@@ -713,6 +713,10 @@ function expectInitialization(fixture) { |
fixture.mockGlobals.stubs().recordEvent(ANYTHING); |
fixture.mockGlobals. |
expects(once()).recordEvent(GoogleNowEvent.EXTENSION_START); |
+ fixture.mockApis.expects(once()) |
+ .fillFromChromeLocalStorage(eqJSON({gcmNotificationKey: undefined})) |
+ .will(returnValue(Promise.resolve({gcmNotificationKey: 'gcmkey'}))); |
+ |
} |
TEST_F(TEST_NAME,'Initialize_SignedOut', function() { |