diff --git a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php index 912f3fa4e..cefef163c 100644 --- a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php +++ b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php @@ -1120,7 +1120,7 @@ class CakeEmailTest extends CakeTestCase { $this->CakeEmail->emailFormat('html'); $server = env('SERVER_NAME') ? env('SERVER_NAME') : 'localhost'; - if (env('SERVER_PORT') != NULL && env('SERVER_PORT') != 80) { + if (env('SERVER_PORT') != null && env('SERVER_PORT') != 80) { $server .= ':' . env('SERVER_PORT'); }