Index: src/platform/update_engine/filesystem_copier_action_unittest.cc |
diff --git a/src/platform/update_engine/filesystem_copier_action_unittest.cc b/src/platform/update_engine/filesystem_copier_action_unittest.cc |
index 6b438173712d03d96000e8e78491c6da487dabc2..b5cd64ddc4ee19b8939f0a52005961670e13cdcc 100644 |
--- a/src/platform/update_engine/filesystem_copier_action_unittest.cc |
+++ b/src/platform/update_engine/filesystem_copier_action_unittest.cc |
@@ -230,7 +230,8 @@ TEST_F(FilesystemCopierActionTest, FullUpdateTest) { |
processor.set_delegate(&delegate); |
ObjectFeederAction<InstallPlan> feeder_action; |
- InstallPlan install_plan(true, "", "", "", ""); |
+ const char* kUrl = "http://some/url"; |
+ InstallPlan install_plan(true, kUrl, "", "", ""); |
feeder_action.set_obj(install_plan); |
FilesystemCopierAction copier_action(false); |
ObjectCollectorAction<InstallPlan> collector_action; |
@@ -245,6 +246,7 @@ TEST_F(FilesystemCopierActionTest, FullUpdateTest) { |
EXPECT_FALSE(processor.IsRunning()); |
EXPECT_TRUE(delegate.ran_); |
EXPECT_TRUE(delegate.success_); |
+ EXPECT_EQ(kUrl, collector_action.object().download_url); |
} |
TEST_F(FilesystemCopierActionTest, NonExistentDriveTest) { |