Skip to content
Permalink
Browse files

Revert URl change in test

  • Loading branch information...
ravage84 committed Jun 10, 2017
1 parent 1ce2389 commit a99f60fb7586a8a0baaf903e45095fa5773efa6f
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
@@ -2331,7 +2331,7 @@ protected function _getEmailByNewStyleCharset($charset, $headerCharset) {
* @return void
*/
public function testWrapLongLine() {
$message = '<a href="https://cakephp.org">' . str_repeat('x', CakeEmail::LINE_LENGTH_MUST) . "</a>";
$message = '<a href="http://cakephp.org">' . str_repeat('x', CakeEmail::LINE_LENGTH_MUST) . "</a>";
$this->CakeEmail->reset();
$this->CakeEmail->transport('Debug');
@@ -2340,8 +2340,8 @@ public function testWrapLongLine() {
$this->CakeEmail->subject('Wordwrap Test');
$this->CakeEmail->config(array('empty'));
$result = $this->CakeEmail->send($message);
$expected = "<a\r\n" . 'href="https://cakephp.org">' . str_repeat('x', CakeEmail::LINE_LENGTH_MUST - 26) . "\r\n" .
str_repeat('x', 27) . "\r\n</a>\r\n\r\n";
$expected = "<a\r\n" . 'href="http://cakephp.org">' . str_repeat('x', CakeEmail::LINE_LENGTH_MUST - 26) . "\r\n" .
str_repeat('x', 26) . "\r\n</a>\r\n\r\n";
$this->assertEquals($expected, $result['message']);
$this->assertLineLengths($result['message']);

0 comments on commit a99f60f

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