Skip to content

Commit

Permalink
SOAP tests: centralise the number of issues to retrieve
Browse files Browse the repository at this point in the history
  • Loading branch information
rombert committed Nov 11, 2011
1 parent b34c7c9 commit a1e1347
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/soap/FilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
* Test fixture for filter related webservice method.
*/
class FilterTest extends SoapBase {

const ISSUES_TO_RETRIEVE = 50;

/**
* A test case that tests the following:
* 1. Retrieving all the project's issues
Expand Down Expand Up @@ -221,7 +224,7 @@ private function getProjectIssues() {
$this->password,
$this->getProjectId(),
0,
50);
self::ISSUES_TO_RETRIEVE);
}

/**
Expand All @@ -235,6 +238,6 @@ private function getProjectIssueHeaders() {
$this->password,
$this->getProjectId(),
0,
50);
self::ISSUES_TO_RETRIEVE);
}
}

0 comments on commit a1e1347

Please sign in to comment.