public function setUp() { parent::setUp(); // Bind objects to our service $this->klein_app->service()->bind(new Request(), new Response()); // Setup our error handler $this->klein_app->onError(array($this, 'errorHandler'), false); }
protected function setUp() { parent::setUp(); $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.1'; }
public function setUp() { parent::setUp(); // Setup our error handler $this->klein_app->onError(array($this, 'errorHandler'), false); }