mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing code left from testing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5398 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
8229587cfe
commit
1963c3b501
1 changed files with 1 additions and 2 deletions
|
@ -50,11 +50,10 @@ class EmailTest extends CakeTestCase {
|
||||||
|
|
||||||
function testBadSmtpSend() {
|
function testBadSmtpSend() {
|
||||||
if(@fsockopen('localhost', 25)) {
|
if(@fsockopen('localhost', 25)) {
|
||||||
$this->skipUnless(@fsockopen('localhost', 25), 'Must be able to connect to localhost port');
|
|
||||||
$this->Controller->Email->smtpOptions['host'] = 'blah';
|
$this->Controller->Email->smtpOptions['host'] = 'blah';
|
||||||
$this->assertFalse($this->Controller->Email->send('Should not work'));
|
$this->assertFalse($this->Controller->Email->send('Should not work'));
|
||||||
} else {
|
} 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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue