Skip to content

Commit 427b7e8

Browse files
committed
Fix the email notification
1 parent a01bb28 commit 427b7e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Loggable/Notifications/EmailChannel/MonologHtmlFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function composeTitle(array $record)
115115
$environment = app()->environment();
116116
$environment = e(str_upper($environment));
117117
$title .= '<style>.title { padding-bottom: 0 !important; } .subtitle { padding-top: 0 !important; }</style>';
118-
$title .= "<h3 class='subtitle {$levelName}'>This notification was sent from `{$environment}` environment!</h3>";
118+
$title .= "<h3 class='subtitle {$levelName}'>This notification has been sent from the `{$environment}` environment!</h3>";
119119

120120
return $title;
121121
}

tests/Loggable/Notifications/EmailChannel/MonologHtmlFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private function composeExpectedOutput(array $record)
165165

166166
$subtitle =
167167
"<style>.title { padding-bottom: 0 !important; } .subtitle { padding-top: 0 !important; }</style>
168-
<h3 class='subtitle {$record['level_name']}'>This notification was sent from `TESTING` environment!</h3>";
168+
<h3 class='subtitle {$record['level_name']}'>This notification has been sent from the `TESTING` environment!</h3>";
169169
if ($this->app->environment('production')) {
170170
$subtitle = '';
171171
}

0 commit comments

Comments
 (0)