Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
not sure what this test is testing..
corrected as now config returns $this on write
  • Loading branch information
AD7six committed Mar 29, 2014
1 parent 12b281a commit f385b5c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/TestCase/Network/Email/SmtpTransportTest.php
Expand Up @@ -357,14 +357,16 @@ public function testQuit() {
* @return void
*/
public function testEmptyConfigArray() {
$expected = $this->SmtpTransport->config(array(
$this->SmtpTransport->config(array(
'client' => 'myhost.com',
'port' => 666
));
$expected = $this->SmtpTransport->config();

$this->assertEquals(666, $expected['port']);

$result = $this->SmtpTransport->config(array());
$this->SmtpTransport->config(array());
$result = $this->SmtpTransport->config();
$this->assertEquals($expected, $result);
}

Expand Down

0 comments on commit f385b5c

Please sign in to comment.