diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-04-18 07:50:20 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-04-18 07:50:20 +0200 |
commit | b937d6ee42f3d5c0bab83f7cdefd7319837eb2fa (patch) | |
tree | 30eedd7cbb63dbeacc38498e2659ff4137b80310 /tests/Api/PostsAddTest.php | |
parent | 3b582fd875de425d91bc143a33dc07e554246a80 (diff) | |
download | semanticscuttle-b937d6ee42f3d5c0bab83f7cdefd7319837eb2fa.tar.gz semanticscuttle-b937d6ee42f3d5c0bab83f7cdefd7319837eb2fa.tar.bz2 |
fix tests that did not find the data file
Diffstat (limited to 'tests/Api/PostsAddTest.php')
-rw-r--r-- | tests/Api/PostsAddTest.php | 4 |
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); |