summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Api/PostsAddTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Api/PostsAddTest.php b/tests/Api/PostsAddTest.php
index 4e2f4fa..1753529 100644
--- a/tests/Api/PostsAddTest.php
+++ b/tests/Api/PostsAddTest.php
@@ -524,7 +524,7 @@ TXT;
$testcookievalue = $uId . ':' . md5($testusername . $testcookiepassword);
$req->setCookieJar(true);
$req->addCookie($testcookiekey, $testcookievalue);
- $req->addUpload('userfile', '../data/BookmarkTest_netscapebookmarks.html');
+ $req->addUpload('userfile', dirname(__FILE__) . '/../data/BookmarkTest_netscapebookmarks.html');
$req->send();
$this->us->setCurrentUserId($uId);
$bms = $this->bs->getBookmarks(0, null, $uId);
@@ -553,7 +553,7 @@ TXT;
$testcookievalue = $uId . ':' . md5($testusername . $testcookiepassword);
$req->setCookieJar(true);
$req->addCookie($testcookiekey, $testcookievalue);
- $req->addUpload('userfile', '../data/BookmarkTest_deliciousbookmarks.xml');
+ $req->addUpload('userfile', dirname(__FILE__) . '/../data/BookmarkTest_deliciousbookmarks.xml');
$req->send();
$this->us->setCurrentUserId($uId);
$bms = $this->bs->getBookmarks(0, null, $uId);