]> git.pld-linux.org Git - packages/php-phpmailer.git/blob - tests.patch
use rpm5 compatible noautoreq patterns
[packages/php-phpmailer.git] / tests.patch
1 --- PHPMailer_5.2.1/test/phpmailerTest.php~     2012-04-22 14:55:00.201857103 +0300
2 +++ PHPMailer_5.2.1/test/phpmailerTest.php      2012-04-22 14:54:00.232668489 +0300
3 @@ -13,7 +13,6 @@
4  * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
5  */
6  
7 -require 'PHPUnit/Framework.php';
8  
9  $INCLUDE_DIR = "../";
10  
11 @@ -146,7 +145,7 @@
12          $ReportBody .= "---------------------" . $eol;
13          $ReportBody .= "Unit Test Information" . $eol;
14          $ReportBody .= "---------------------" . $eol;
15 -        $ReportBody .= "phpmailer version: " . PHPMailer::VERSION . $eol;
16 +        $ReportBody .= "phpmailer version: " . $this->Mail->Version . $eol;
17          $ReportBody .= "Content Type: " . $this->Mail->ContentType . $eol;
18          
19          if(strlen($this->Mail->Host) > 0)
20 @@ -637,7 +636,6 @@
21             $this->Mail->CreateHeader();
22             $this->assertFalse($this->Mail->set('x', 'y'), 'Invalid property set succeeded');
23             $this->assertTrue($this->Mail->set('Timeout', 11), 'Valid property set failed');
24 -           $this->Mail->getFile(__FILE__);
25         }
26  }  
27   
This page took 0.043761 seconds and 3 git commands to generate.