Skip to content

Commit

Permalink
Test Case
Browse files Browse the repository at this point in the history
  • Loading branch information
IonutBurlacu committed Sep 22, 2017
1 parent b5c3b93 commit 5540569
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
Expand Up @@ -275,6 +275,10 @@ public function testTo() {
$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',
Expand Down

0 comments on commit 5540569

Please sign in to comment.