public function setUp()
 {
     $this->server = new HttpServer('localhost', 8080, __DIR__ . '/helper/server.php');
     $this->server->disableOutput();
     $this->server->start();
     $this->client = new HttpClient();
 }
Exemple #2
0
 public function test_enable_and_disable_output()
 {
     $server = new HttpServer('localhost', 6789, __DIR__);
     $server->enableOutput();
     $server->disableOutput();
 }