Permalink
Browse files

SOAP tests: centralise the number of issues to retrieve

  • Loading branch information...
1 parent f5c2fb4 commit 64601e6182276a50ec247b0bdc1990a211bf91a3 @rombert rombert committed Nov 11, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 tests/soap/FilterTest.php
@@ -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
@@ -221,7 +224,7 @@ private function getProjectIssues() {
$this->password,
$this->getProjectId(),
0,
- 50);
+ self::ISSUES_TO_RETRIEVE);
}
/**
@@ -235,6 +238,6 @@ private function getProjectIssueHeaders() {
$this->password,
$this->getProjectId(),
0,
- 50);
+ self::ISSUES_TO_RETRIEVE);
}
}

0 comments on commit 64601e6

Please sign in to comment.