aboutsummaryrefslogtreecommitdiff
path: root/tests/TestBaseApi.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-02 09:03:35 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-02 09:03:35 +0200
commitf629d081ddf52e3cb83ffbfc973a97adc691790c (patch)
treef2c55e745546364fa0aa116b9e68bbf23ef83d9d /tests/TestBaseApi.php
parent6b02db7920f09cafadc181bbaed283d5adf6cee6 (diff)
downloadsemanticscuttle-f629d081ddf52e3cb83ffbfc973a97adc691790c.tar.gz
semanticscuttle-f629d081ddf52e3cb83ffbfc973a97adc691790c.tar.bz2
make privacy tests clearer
Diffstat (limited to 'tests/TestBaseApi.php')
-rw-r--r--tests/TestBaseApi.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/TestBaseApi.php b/tests/TestBaseApi.php
index b381dad..9759db5 100644
--- a/tests/TestBaseApi.php
+++ b/tests/TestBaseApi.php
@@ -89,6 +89,8 @@ class TestBaseApi extends TestBase
* the request object with authentication details, so that
* the user is logged in.
*
+ * Only usable for API requests, not "normal" HTTP page requests
+ *
* @param string $urlSuffix Suffix for the URL
* @param mixed $auth If user authentication is needed (true/false)
* or array with username and password
@@ -96,6 +98,7 @@ class TestBaseApi extends TestBase
* @return array(HTTP_Request2, integer) HTTP request object and user id
*
* @uses getRequest()
+ * @see getLoggedInRequest()
*/
protected function getAuthRequest($urlSuffix = null, $auth = true)
{