Skip to content
Permalink
Browse files

Fix CS in SmtpTransportTest

  • Loading branch information...
bcrowe committed Jul 25, 2014
1 parent 815ad1c commit 469a590a06c3103d2f602d69b2389d1687622029
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/Network/Email/SmtpTransportTest.php
@@ -511,7 +511,7 @@ public function testExplicitDisconnect() {
* @return void
*/
public function testExplicitDisconnectNotConnected() {
$callback = function($arg) {
$callback = function($arg) {
$this->assertNotEquals("QUIT\r\n", $arg);
};
$this->socket->expects($this->any())->method('write')->will($this->returnCallback($callback));
@@ -532,7 +532,7 @@ public function testKeepAlive() {
$email->to('cake@cakephp.org', 'CakePHP');
$email->expects($this->exactly(2))->method('message')->will($this->returnValue(array('First Line')));
$callback = function($arg) {
$callback = function($arg) {
$this->assertNotEquals("QUIT\r\n", $arg);
};
$this->socket->expects($this->any())->method('write')->will($this->returnCallback($callback));

0 comments on commit 469a590

Please sign in to comment.
You can’t perform that action at this time.