mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +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() {
|
||||
$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