From 5540569fccefdf1e4b50b6f988f401c2ca9fd290 Mon Sep 17 00:00:00 2001 From: Ionut-Mihai Burlacu Date: Fri, 22 Sep 2017 11:39:39 +0300 Subject: [PATCH] Test Case --- lib/Cake/Test/Case/Network/Email/CakeEmailTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php index b84b35950..9c7fcf66a 100644 --- a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php +++ b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php @@ -275,6 +275,10 @@ class CakeEmailTest extends CakeTestCase { $expected = array('cake@cakephp.org' => 'CakePHP'); $this->assertSame($expected, $this->CakeEmail->to()); + $this->CakeEmail->to('cake@cake_php.org', 'CakePHPUnderscore'); + $expected = array('cake@cake_php.org', 'CakePHPUnderscore'); + $this->assertSame($expected, $this->CakeEmail->to()); + $list = array( 'root@localhost' => 'root', 'bjørn@hammeröath.com' => 'Bjorn',