mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 07:29:51 +00:00
Converting CakeSocketTest to phpunit
This commit is contained in:
parent
01e36ce2c4
commit
f3f37a126f
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class CakeSocketTest extends CakeTestCase {
|
||||||
*/
|
*/
|
||||||
function testSocketWriting() {
|
function testSocketWriting() {
|
||||||
$request = "GET / HTTP/1.1\r\nConnection: close\r\n\r\n";
|
$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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue