@@ -69,7 +69,6 @@ string GetNoUpdateResponse(const string& app_id) {
69
69
70
70
string GetUpdateResponse2 (const string& app_id,
71
71
const string& display_version,
72
- const string& more_info_url,
73
72
const string& prompt,
74
73
const string& codebase,
75
74
const string& filename,
@@ -87,7 +86,7 @@ string GetUpdateResponse2(const string& app_id,
87
86
" <packages><package hash=\" not-used\" name=\" " + filename + " \" "
88
87
" size=\" " + size + " \" /></packages>"
89
88
" <actions><action event=\" postinstall\" "
90
- " MoreInfo= \" " + more_info_url + " \" Prompt=\" " + prompt + " \" "
89
+ " Prompt=\" " + prompt + " \" "
91
90
" IsDelta=\" true\" "
92
91
" IsDeltaPayload=\" true\" "
93
92
" sha256=\" " + hash + " \" "
@@ -99,7 +98,6 @@ string GetUpdateResponse2(const string& app_id,
99
98
100
99
string GetUpdateResponse (const string& app_id,
101
100
const string& display_version,
102
- const string& more_info_url,
103
101
const string& prompt,
104
102
const string& codebase,
105
103
const string& filename,
@@ -108,7 +106,6 @@ string GetUpdateResponse(const string& app_id,
108
106
const string& size) {
109
107
return GetUpdateResponse2 (app_id,
110
108
display_version,
111
- more_info_url,
112
109
prompt,
113
110
codebase,
114
111
filename,
@@ -211,7 +208,6 @@ TEST(OmahaRequestActionTest, ValidUpdateTest) {
211
208
GetDefaultTestParams (),
212
209
GetUpdateResponse (OmahaRequestParams::kAppId ,
213
210
" 1.2.3.4" , // version
214
- " http://more/info" ,
215
211
" true" , // prompt
216
212
" http://code/base/" , // dl url
217
213
" file.signed" , // file name
@@ -227,7 +223,6 @@ TEST(OmahaRequestActionTest, ValidUpdateTest) {
227
223
EXPECT_TRUE (response.update_exists );
228
224
EXPECT_EQ (" 1.2.3.4" , response.display_version );
229
225
EXPECT_EQ (" http://code/base/file.signed" , response.payload_urls [0 ]);
230
- EXPECT_EQ (" http://more/info" , response.more_info_url );
231
226
EXPECT_EQ (" HASH1234=" , response.hash );
232
227
EXPECT_EQ (123 , response.size );
233
228
EXPECT_FALSE (response.needs_admin );
@@ -368,7 +363,6 @@ TEST(OmahaRequestActionTest, MissingFieldTest) {
368
363
EXPECT_TRUE (response.update_exists );
369
364
EXPECT_EQ (" 1.0.0.0" , response.display_version );
370
365
EXPECT_EQ (" http://missing/field/test/f" , response.payload_urls [0 ]);
371
- EXPECT_EQ (" " , response.more_info_url );
372
366
EXPECT_EQ (" lkq34j5345" , response.hash );
373
367
EXPECT_EQ (587 , response.size );
374
368
EXPECT_TRUE (response.needs_admin );
@@ -502,7 +496,6 @@ TEST(OmahaRequestActionTest, XmlDecodeTest) {
502
496
GetDefaultTestParams (),
503
497
GetUpdateResponse (OmahaRequestParams::kAppId ,
504
498
" 1.2.3.4" , // version
505
- " testthe<url" , // more info
506
499
" true" , // prompt
507
500
" testthe&codebase/" , // dl url
508
501
" file.signed" , // file name
@@ -515,7 +508,6 @@ TEST(OmahaRequestActionTest, XmlDecodeTest) {
515
508
&response,
516
509
NULL ));
517
510
518
- EXPECT_EQ (response.more_info_url , " testthe<url" );
519
511
EXPECT_EQ (response.payload_urls [0 ], " testthe&codebase/file.signed" );
520
512
}
521
513
@@ -526,7 +518,6 @@ TEST(OmahaRequestActionTest, ParseIntTest) {
526
518
GetDefaultTestParams (),
527
519
GetUpdateResponse (OmahaRequestParams::kAppId ,
528
520
" 1.2.3.4" , // version
529
- " theurl" , // more info
530
521
" true" , // prompt
531
522
" thecodebase/" , // dl url
532
523
" file.signed" , // file name
0 commit comments