summaryrefslogtreecommitdiff
path: root/tests/Api/ExportCsvTest.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-03-28 18:09:59 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-03-28 18:09:59 +0000
commitccbc63aec4869f64fb68706a6d687aa665a60c9c (patch)
tree0ba3e6f578cf2772b235fb20402a995722e4effe /tests/Api/ExportCsvTest.php
parent74dc9ea6a4e553f38a97928617074fd76793c783 (diff)
downloadsemanticscuttle-ccbc63aec4869f64fb68706a6d687aa665a60c9c.tar.gz
semanticscuttle-ccbc63aec4869f64fb68706a6d687aa665a60c9c.tar.bz2
test that public bookmarks of other people are not exported via csv
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@703 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'tests/Api/ExportCsvTest.php')
-rw-r--r--tests/Api/ExportCsvTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Api/ExportCsvTest.php b/tests/Api/ExportCsvTest.php
index 18008e1..2bff8a5 100644
--- a/tests/Api/ExportCsvTest.php
+++ b/tests/Api/ExportCsvTest.php
@@ -140,6 +140,11 @@ class Api_ExportCsvTest extends TestBaseApi
$this->addBookmark(
null, 'http://example.org/testBookmarks-private2', 2
);
+ //public bookmark from other people that should not be
+ // exported, too
+ $this->addBookmark(
+ null, 'http://example.org/testBookmarks-other', 0
+ );
$body = $req->send()->getBody();
$csv = $this->getCsvArray($body);