summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-06-08 07:00:24 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-06-08 07:00:24 +0200
commit39dfe3f1acf620eccb668d4f8d7451c1cef96ba5 (patch)
tree24bc638ab1ade6d0e8077bda7d99d8048193d606 /tests
parent44a65eddaca98c2313ce128f9994e7484f9099b1 (diff)
downloadsemanticscuttle-39dfe3f1acf620eccb668d4f8d7451c1cef96ba5.tar.gz
semanticscuttle-39dfe3f1acf620eccb668d4f8d7451c1cef96ba5.tar.bz2
CS
Diffstat (limited to 'tests')
-rw-r--r--tests/TestBaseApi.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/TestBaseApi.php b/tests/TestBaseApi.php
index d8917aa..7568147 100644
--- a/tests/TestBaseApi.php
+++ b/tests/TestBaseApi.php
@@ -164,17 +164,18 @@ class TestBaseApi extends TestBase
*
* Useful for testing HTML pages or ajax URLs.
*
- * @param string $urlSuffix Suffix for the URL
- * @param mixed $auth If user authentication is needed (true/false)
- * or array with username and password
+ * @param string $urlSuffix Suffix for the URL
+ * @param mixed $auth If user authentication is needed (true/false)
+ * or array with username and password
* @param boolean $privateKey True if to add user with private key
*
* @return array(HTTP_Request2, integer) HTTP request object and user id
*
* @uses getRequest()
*/
- protected function getLoggedInRequest($urlSuffix = null, $auth = true, $privateKey = false)
- {
+ protected function getLoggedInRequest(
+ $urlSuffix = null, $auth = true, $privateKey = false
+ ) {
if (is_array($auth)) {
list($username, $password) = $auth;
} else {