Converting CakeSocketTest to phpunit

This commit is contained in:
José Lorenzo Rodríguez 2010-05-13 00:50:30 -04:30
parent 01e36ce2c4
commit f3f37a126f

View file

@ -131,7 +131,7 @@ class CakeSocketTest extends CakeTestCase {
*/
function testSocketWriting() {
$request = "GET / HTTP/1.1\r\nConnection: close\r\n\r\n";
$this->assertTrue($this->Socket->write($request));
$this->assertTrue((bool)$this->Socket->write($request));
}
/**