File tree Expand file tree Collapse file tree
test/Unit/Contact/Service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ return [
4747 'contact' => [
4848 'subject' => 'Dotkernel Contact',
4949 'message_sender' => [
50- 'name' => '',
51- 'address ' => '',
50+ 'from_name' => '',
51+ 'from_email ' => '',
5252 ],
5353 'message_recipients' => [
5454 'name' => 'Dotkernel Team',
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ public function sendContactMail(Message $message): bool
6666 $ contactRecipients = $ this ->config ['contact ' ]['message_recipients ' ];
6767
6868 $ this ->mailService ->getMessage ()->setFrom (
69- $ contactSender ['address ' ] ?: $ messageConfig ['from ' ],
70- $ contactSender ['name ' ] ?: $ messageConfig ['from_name ' ]
69+ $ contactSender ['from_email ' ] ?: $ messageConfig ['from ' ],
70+ $ contactSender ['from_name ' ] ?: $ messageConfig ['from_name ' ]
7171 );
7272
7373 $ this ->mailService ->getMessage ()->setTo (
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ public function testProcessMessage(): void
5656 'contact ' => [
5757 'subject ' => 'test ' ,
5858 'message_sender ' => [
59- 'name ' => 'Contact ' ,
60- 'address ' => 'dotkernelContact@test.com ' ,
59+ 'from_name ' => 'Contact ' ,
60+ 'from_email ' => 'dotkernelContact@test.com ' ,
6161 ],
6262 'message_recipients ' => [
6363 'name ' => 'Dotkernel Team ' ,
You can’t perform that action at this time.
0 commit comments