From 4d795a7383c140d630b0df369f06cef3b6a2ab2f Mon Sep 17 00:00:00 2001 From: Ceeram Date: Fri, 21 Oct 2011 15:02:53 +0200 Subject: [PATCH] ensure SmtpTransportTest passes, always use localhost as hostname --- lib/Cake/Test/Case/Network/Email/SmtpTransportTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Network/Email/SmtpTransportTest.php b/lib/Cake/Test/Case/Network/Email/SmtpTransportTest.php index bff8932e4..7e1ba2b2f 100644 --- a/lib/Cake/Test/Case/Network/Email/SmtpTransportTest.php +++ b/lib/Cake/Test/Case/Network/Email/SmtpTransportTest.php @@ -88,7 +88,7 @@ class SmtpTransportTest extends CakeTestCase { $this->SmtpTransport = new SmtpTestTransport(); $this->SmtpTransport->setSocket($this->socket); - $this->SmtpTransport->config(); + $this->SmtpTransport->config(array('client' => 'localhost')); } /**