mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Test Case
This commit is contained in:
parent
b5c3b93941
commit
5540569fcc
1 changed files with 4 additions and 0 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue