diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-06-08 07:00:17 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-06-08 07:00:17 +0200 |
commit | 44a65eddaca98c2313ce128f9994e7484f9099b1 (patch) | |
tree | dd4708740dd933b3754f3b2bcc4bcdb8a4913509 /tests/www/bookmarksTest.php | |
parent | 1dc33f4416c940ee3b46d9fabf3a2b1a2d369bb0 (diff) | |
download | semanticscuttle-44a65eddaca98c2313ce128f9994e7484f9099b1.tar.gz semanticscuttle-44a65eddaca98c2313ce128f9994e7484f9099b1.tar.bz2 |
fix tests for people that use a separate test database
Diffstat (limited to 'tests/www/bookmarksTest.php')
-rwxr-xr-x | tests/www/bookmarksTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/www/bookmarksTest.php b/tests/www/bookmarksTest.php index 1f6d1a5..a4de5f8 100755 --- a/tests/www/bookmarksTest.php +++ b/tests/www/bookmarksTest.php @@ -87,7 +87,7 @@ class www_bookmarksTest extends TestBaseApi $user = $this->us->getUser($uId); $reqUrl = $GLOBALS['unittestUrl'] . 'bookmarks.php/' - . $user['username']; + . $user['username'] . '?unittestMode=1'; $req->setUrl($reqUrl); $req->setMethod(HTTP_Request2::METHOD_GET); $response = $req->send(); @@ -114,7 +114,7 @@ class www_bookmarksTest extends TestBaseApi $user = $this->us->getUser($uId); $reqUrl = $GLOBALS['unittestUrl'] . 'bookmarks.php/' - . $user['username']; + . $user['username'] . '?unittestMode=1'; $req->setUrl($reqUrl); $req->setMethod(HTTP_Request2::METHOD_GET); $response = $req->send(); |