Fix spelling
This commit is contained in:
parent
88836b9cca
commit
825d9c9f82
|
@ -124,7 +124,7 @@ class WC_Log_Handler_Email extends WC_Log_Handler {
|
||||||
*/
|
*/
|
||||||
public function get_body( $timestamp, $level, $message, $context ) {
|
public function get_body( $timestamp, $level, $message, $context ) {
|
||||||
$entry = $this->format_entry( $timestamp, $level, $message, $context );
|
$entry = $this->format_entry( $timestamp, $level, $message, $context );
|
||||||
return __( 'You have recieved the following WooCommerce log message:', 'woocommerce' )
|
return __( 'You have received the following WooCommerce log message:', 'woocommerce' )
|
||||||
. PHP_EOL . PHP_EOL . $entry;
|
. PHP_EOL . PHP_EOL . $entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ class WC_Tests_Log_Handler_Email extends WC_Unit_Test_Case {
|
||||||
$mailer = tests_retrieve_phpmailer_instance();
|
$mailer = tests_retrieve_phpmailer_instance();
|
||||||
|
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
'You have recieved the following WooCommerce log message:' . PHP_EOL . PHP_EOL . date( 'c', $time ) . ' EMERGENCY msg_emergency' . PHP_EOL,
|
'You have received the following WooCommerce log message:' . PHP_EOL . PHP_EOL . date( 'c', $time ) . ' EMERGENCY msg_emergency' . PHP_EOL,
|
||||||
$mailer->get_sent()->body
|
$mailer->get_sent()->body
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue