Example #1
0
 public function testObtener()
 {
     $autorization = sprintf("BASIC  + window.btoa(%s + :xxx)", "asdasdasdas");
     $options = array('body' => array(), 'config' => array(), 'headers' => array());
     $project = new Project();
     $project->__set("apiKey", "cat952yellow");
     $project->obtener();
     $response = $project->__get("response");
     error_log(print_r($response['body'], true));
     $this->assertTrue($response['status'] == 'exito');
 }