Commit 62d9d3bd authored by Dominique Fauteux-Chapleau's avatar Dominique Fauteux-Chapleau Committed by Commit Bot

Fix BinaryUploadServiceTest.IsAuthorizedValidTimer crash

Change-Id: I37c2578a6b36e0de25a889bf636e122b7d8987f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2022253Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735453}
parent 3e998d5f
......@@ -449,6 +449,7 @@ TEST_F(BinaryUploadServiceTest, ReturnsAsynchronouslyWithNoFCM) {
}
TEST_F(BinaryUploadServiceTest, IsAuthorizedValidTimer) {
ExpectInstanceID("valid id");
// The 24 hours timer should be started on the first IsAuthorized call.
ValidateAuthorizationTimerIdle();
service_->IsAuthorized(base::DoNothing());
......
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