]> git.mxchange.org Git - mailer.git/blobdiff - inc/phpmailer/test/phpmailer_test.php
Better 'Aufgabe' for german text
[mailer.git] / inc / phpmailer / test / phpmailer_test.php
index 495173dc08555f98ae5a828c722114bf76100a74..22d6f42b8e6ef0388e420db37ff98224b0b596f8 100644 (file)
@@ -6,8 +6,8 @@
 \r
 $INCLUDE_DIR = "../";\r
 \r
-include("phpunit.php");\r
-include($INCLUDE_DIR . "class.phpmailer.php");\r
+require("phpunit.php");\r
+require($INCLUDE_DIR . "class.phpmailer.php");\r
 error_reporting(E_ALL);\r
 \r
 /**\r
@@ -69,7 +69,7 @@ class phpmailerTest extends TestCase
         $this->Mail->Subject = "Unit Test";\r
         $this->Mail->Body = "";\r
         $this->Mail->AltBody = "";\r
-        $this->Mail->WordWrap = '0';\r
+        $this->Mail->WordWrap = 0;\r
         $this->Mail->Host = $global_vars["mail_host"];\r
         $this->Mail->Port = 25;\r
         $this->Mail->Helo = "localhost.localdomain";\r
@@ -145,7 +145,7 @@ class phpmailerTest extends TestCase
         {\r
             $ReportBody .= "Attachments:" . $eol;\r
             $ReportBody .= $bullet_start;\r
-            for($i = '0'; $i < count($this->Mail->attachment); $i++)\r
+            for($i = 0; $i < count($this->Mail->attachment); $i++)\r
             {\r
                 $ReportBody .= $bullet . "Name: " . $this->Mail->attachment[$i][1] . ", ";\r
                 $ReportBody .= "Encoding: " . $this->Mail->attachment[$i][3] . ", ";\r
@@ -161,7 +161,7 @@ class phpmailerTest extends TestCase
             $ReportBody .= "-------" . $eol;\r
 \r
             $ReportBody .= $bullet_start;\r
-            for($i = '0'; $i < count($this->ChangeLog); $i++)\r
+            for($i = 0; $i < count($this->ChangeLog); $i++)\r
             {\r
                 $ReportBody .= $bullet . $this->ChangeLog[$i][0] . " was changed to [" . \r
                                $this->ChangeLog[$i][1] . "]" . $eol;\r
@@ -176,7 +176,7 @@ class phpmailerTest extends TestCase
             $ReportBody .= "-----" . $eol;\r
 \r
             $ReportBody .= $bullet_start;\r
-            for($i = '0'; $i < count($this->NoteLog); $i++)\r
+            for($i = 0; $i < count($this->NoteLog); $i++)\r
             {\r
                 $ReportBody .= $bullet . $this->NoteLog[$i] . $eol;\r
             }\r