Skip to content
Permalink
Browse files

Fix failing test.

CakeEmail now has a default validation pattern.

Refs #3742
  • Loading branch information...
markstory committed Jun 30, 2014
1 parent dc34d80 commit adcf9ab723bfa69854d452f215a4f7ba529d59d5
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
@@ -283,7 +283,6 @@ public function testTo() {
$this->assertSame($this->CakeEmail, $result);
}
/**
* Data provider function for testBuildInvalidData
*
@@ -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());
}

0 comments on commit adcf9ab

Please sign in to comment.
You can’t perform that action at this time.