public function setUp() { parent::setUp(); $project = $this->getProject(REST_TestDataBuilder::PROJECT_BACKLOG_DND); $this->tracker_test_helper = new Test\Rest\Tracker\TrackerFactory($this->client, $this->rest_request, $project['id'], REST_TestDataBuilder::TEST_USER_1_NAME); $this->createReleaseAndBacklog(); }
public function setUp() { parent::setUp(); $this->first_file = array('name' => 'my file', 'description' => 'a very LARGE file', 'mimetype' => 'text/plain', 'content' => base64_encode('a very LARGE file')); $this->second_file = array('name' => 'my file 2', 'description' => 'a very small file', 'mimetype' => 'text/plain', 'content' => base64_encode('a very small file')); $this->third_file = array('name' => 'my file 3', 'description' => 'a very small file', 'mimetype' => 'text/plain', 'content' => base64_encode('a very small file')); }
public function setUp() { parent::setUp(); $this->tracker_test_helper = new Test\Rest\Tracker\TrackerFactory($this->client, $this->rest_request, REST_TestDataBuilder::PROJECT_PBI_ID, REST_TestDataBuilder::TEST_USER_1_NAME); $this->createBacklog(); $this->createProductAndRelease(); $this->assignEpicsToProductAndRelease(); }
public function setUp() { parent::setUp(); $this->tracker_test_helper = new Test\Rest\Tracker\TrackerFactory($this->client, $this->rest_request, REST_TestDataBuilder::PROJECT_PBI_ID, REST_TestDataBuilder::TEST_USER_1_NAME); $this->epic1 = $this->createEpic('Epic 1'); $this->epic2 = $this->createEpic('Epic 2'); $this->epic3 = $this->createEpic('Epic 3'); $this->epic4 = $this->createEpic('Epic 4'); $this->product = $this->createProduct("Widget"); }
public function setUp() { parent::setUp(); $this->project_id = REST_TestDataBuilder::PROJECT_PRIVATE_MEMBER_ID; $this->tracker_test_helper = new Test\Rest\Tracker\TrackerFactory($this->client, $this->rest_request, $this->project_id, REST_TestDataBuilder::TEST_USER_1_NAME); try { $this->story = $this->createStory('Story 1'); $this->task = $this->createTask('Task 1'); $this->sprint = $this->createSprint("Sprint 1"); $this->planning_id = $this->getSprintPlanningId(); } catch (Guzzle\Http\Exception\BadResponseException $exception) { echo $exception->getRequest(); echo $exception->getResponse()->getBody(true); die(PHP_EOL); } }
public function setUp() { parent::setUp(); $this->tracker_test_helper = new Test\Rest\Tracker\TrackerFactory($this->client, $this->rest_request, REST_TestDataBuilder::PROJECT_PBI_ID, REST_TestDataBuilder::TEST_USER_1_NAME); }
public function setUp() { parent::setUp(); $this->tracker_test_helper = new Test\Rest\Tracker\TrackerFactory($this->client, $this->rest_request, REST_TestDataBuilder::PROJECT_PRIVATE_MEMBER_ID, REST_TestDataBuilder::TEST_USER_1_NAME); $this->createStoriesAndTasks(); }