summaryrefslogtreecommitdiff
path: root/tests/BookmarkTest.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-04-06 09:52:02 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-04-06 09:52:02 +0200
commit200cb1d3c54dfaae54d26c0d51f6086435bcee8e (patch)
treee92ef6a72d258343928211f257fce69893738e29 /tests/BookmarkTest.php
parent3306261b3ee6ee3df2d67f2f87b4d8afafd55a53 (diff)
downloadsemanticscuttle-200cb1d3c54dfaae54d26c0d51f6086435bcee8e.tar.gz
semanticscuttle-200cb1d3c54dfaae54d26c0d51f6086435bcee8e.tar.bz2
move privacy tests for api/post_add to the correct location
Diffstat (limited to 'tests/BookmarkTest.php')
-rw-r--r--tests/BookmarkTest.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/BookmarkTest.php b/tests/BookmarkTest.php
index e6f2b26..ad1cb48 100644
--- a/tests/BookmarkTest.php
+++ b/tests/BookmarkTest.php
@@ -1357,19 +1357,6 @@ class BookmarkTest extends TestBase
require_once dirname(__FILE__) . '/../data/config.php';
$this->bs->deleteAll();
$this->us->deleteAll();
- $request = new HTTP_Request2('http://localhost/api/posts_add.php', HTTP_Request2::METHOD_POST);
- $dpuid = $this->addUser('dpuser', 'dpuserpassword');
- $request->setAuth('dpuser', 'dpuserpassword');
- $request->addPostParameter('url', 'http://www.testdefaultprivacyposts_add1.com');
- $request->addPostParameter('description', 'Test bookmark 1 for default privacy.');
- $request->send();
- $bm = $this->bs->getBookmark('1');
- $this->assertEquals('2', $bm['bStatus']);
-
- $request->addPostParameter('url', 'http://www.testdefaultprivacyposts_add2.com');
- $request->addPostParameter('description', 'Test bookmark 2 for default privacy.');
- $request->addPostParameter('status', '0');
- $request->send();
$request = new HTTP_Request2('http://localhost/edit.php/2', HTTP_Request2::METHOD_POST);
$testcookiekey = md5($GLOBALS['dbname'].$GLOBALS['tableprefix']).'-login';