From 1963c3b5016a5504a08b94dae40de33e2991050a Mon Sep 17 00:00:00 2001 From: phpnut Date: Sun, 8 Jul 2007 02:53:23 +0000 Subject: [PATCH] Removing code left from testing git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5398 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/controller/components/email.test.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/controller/components/email.test.php b/cake/tests/cases/libs/controller/components/email.test.php index 15d648ef9..31628130a 100644 --- a/cake/tests/cases/libs/controller/components/email.test.php +++ b/cake/tests/cases/libs/controller/components/email.test.php @@ -50,11 +50,10 @@ class EmailTest extends CakeTestCase { function testBadSmtpSend() { if(@fsockopen('localhost', 25)) { - $this->skipUnless(@fsockopen('localhost', 25), 'Must be able to connect to localhost port'); $this->Controller->Email->smtpOptions['host'] = 'blah'; $this->assertFalse($this->Controller->Email->send('Should not work')); } else { - $this->skipUnless(@fsockopen('localhost', 25), 'Must be able to connect to localhost port'); + $this->skipUnless(@fsockopen('localhost', 25), 'Must be able to connect to localhost port 25'); } }