Skip to content

Commit

Permalink
Fix failing test.
Browse files Browse the repository at this point in the history
CakeEmail now has a default validation pattern.

Refs #3742
  • Loading branch information
markstory committed Jun 30, 2014
1 parent dc34d80 commit adcf9ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
Expand Up @@ -283,7 +283,6 @@ public function testTo() {
$this->assertSame($this->CakeEmail, $result);
}


/**
* Data provider function for testBuildInvalidData
*
Expand Down Expand Up @@ -328,7 +327,6 @@ public function testInvalidEmailAdd($value) {
*/
public function testEmailPattern() {
$regex = '/.+@.+\..+/i';
$this->assertNull($this->CakeEmail->emailPattern());
$this->assertSame($regex, $this->CakeEmail->emailPattern($regex)->emailPattern());
}

Expand Down

0 comments on commit adcf9ab

Please sign in to comment.