File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ function test_get_request_body_without_template() {
244244
245245 //INCLUDE REPLYTO
246246 $ this ->mailer ->addReplyTo ('reply@abc.com ' , 'reply-to ' );
247+ $ this ->mailer ->addCustomHeader ('Reply-To ' , 'reply-to <reply@abc.com> ' ); //for below version v4.6
247248 $ actual = NSA ::invokeMethod ($ this ->mailer , 'get_request_body ' );
248249 $ actual ['content ' ]['headers ' ] = []; //see note above
249250 $ expected_request_body ['content ' ]['reply_to ' ] = 'reply-to <reply@abc.com> ' ;
@@ -305,6 +306,7 @@ function test_get_request_body_with_template() {
305306
306307 //INCLUDE REPLYTO
307308 $ this ->mailer ->addReplyTo ('reply@abc.com ' , 'reply-to ' );
309+ $ this ->mailer ->addCustomHeader ('Reply-To ' , 'reply-to <reply@abc.com> ' ); //for below version v4.6
308310 $ actual = NSA ::invokeMethod ($ this ->mailer , 'get_request_body ' );
309311 $ expected_request_body ['substitution_data ' ]['reply_to ' ] = 'reply-to <reply@abc.com> ' ;
310312 $ this ->assertTrue ($ expected_request_body == $ actual );
You can’t perform that action at this time.
0 commit comments