示例#1
0
 public function testGetApiUri()
 {
     $api = new JiraApi('http://localhost:8080', '/rest/api/2');
     $this->assertEquals('/rest/api/2/project/', $api->project()->getApiUrn());
 }
示例#2
0
 /**
  * @When I get project by key :key
  *
  * @param string $key
  */
 public function iGetProjectByKey($key)
 {
     $this->responseContent = $this->api->project()->getProject($key);
 }