Test Case

This commit is contained in:
Ionut-Mihai Burlacu 2017-09-22 11:39:39 +03:00
parent b5c3b93941
commit 5540569fcc

View file

@ -275,6 +275,10 @@ class CakeEmailTest extends CakeTestCase {
$expected = array('cake@cakephp.org' => 'CakePHP'); $expected = array('cake@cakephp.org' => 'CakePHP');
$this->assertSame($expected, $this->CakeEmail->to()); $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( $list = array(
'root@localhost' => 'root', 'root@localhost' => 'root',
'bjørn@hammeröath.com' => 'Bjorn', 'bjørn@hammeröath.com' => 'Bjorn',