Commit graph

38 commits

Author SHA1 Message Date
bretticvs
3b582fd875 Moved unit tests to PostsAddTest.php in Api directory. 2011-04-17 17:42:49 -06:00
Christian Weiske
200cb1d3c5 move privacy tests for api/post_add to the correct location 2011-04-06 09:52:02 +02:00
bretticvs
42942507c4 Revert "Revert "Updates for configurable-privacy2, hopefully without carriage returns.""
This reverts commit f072059f2d.
2011-03-31 16:18:36 -07:00
bretticvs
f072059f2d Revert "Updates for configurable-privacy2, hopefully without carriage returns."
This reverts commit 675eadd584.
2011-03-31 16:17:53 -07:00
bretticvs
675eadd584 Updates for configurable-privacy2, hopefully without carriage returns. 2011-03-31 15:59:44 -07:00
U-SYBASE\bdee
8cbfef8115 Revert "Further updates for configurable-privacy2."
This reverts commit ef88147d45.
2011-03-31 13:25:37 -07:00
bretticvs
ef88147d45 Further updates for configurable-privacy2. 2011-03-30 22:31:51 -07:00
bretticvs
65bd4bfab8 Updates for feature request 3164348: Make default privacy configurable. 2011-03-15 07:53:39 +01:00
Christian Weiske
4cc46f2686 get rid of phpunits warnings about deprecated assertType usages 2011-02-18 08:01:18 +01:00
cweiske
a242689285 defined main method before including includes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@760 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-27 20:46:45 +00:00
cweiske
b17e8f940c Fix bug #3073215: Updating bookmark time does not work
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@745 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23 07:34:05 +00:00
cweiske
17a1595b31 add more countother-watchlist tests that are simpler than the previous test
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@736 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23 07:30:49 +00:00
cweiske
a42a6eb2ba test for the failure we fixed one commit ago
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@694 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-18 19:28:42 +00:00
cweiske
f9e0714350 write failing test for bug #2953732
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@687 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:05:43 +00:00
cweiske
e0dff57cbb remove part of broken merge :/
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@686 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:04:47 +00:00
cweiske
858b188f87 add missing piece of faulty merge
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@683 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:44:06 +00:00
cweiske
17374001b8 add SemanticScuttle_Service_Bookmark::bookmarksExist() method to check for existance of multiple bookmarks at once for future sql optimization
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@680 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:39:03 +00:00
cweiske
46b96044fb test getBookmarks() with tag loading functionality
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@662 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:07:37 +00:00
cweiske
6b7217daf2 make countOthers() accept an array of addresses
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@659 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:03:20 +00:00
cweiske
2f13a1c819 test complex combination of watches, publics and private bookmarks with countOthers()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@657 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:58:00 +00:00
cweiske
157adfd7eb multiple tests for SemanticScuttle_Service_Bookmark::countOthers()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@655 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:55:50 +00:00
cweiske
82b17be346 part of request #2830224: prepare API for short url service
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@570 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-23 19:11:33 +00:00
cweiske
1256489fa7 test deleteBookmarksForUser
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@565 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 17:38:15 +00:00
cweiske
258fc8edc5 test bookmark updating
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@564 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 07:33:48 +00:00
cweiske
7431f632a4 test normalizing an address
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@563 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 07:33:22 +00:00
cweiske
7a9bf6772d test bookmarkExists() in all variations
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@561 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:44:04 +00:00
cweiske
7a495ede9d fully test editAllowed()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@560 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:24:34 +00:00
cweiske
9710ede432 fix notice when passing an invalid array to editAllowed()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@559 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:23:26 +00:00
cweiske
563df90c75 fix notice when passing an invalid array to editAllowed()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@558 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:22:21 +00:00
cweiske
c93455201a test getBookmark() a bit more, and test "all" parameter with countBookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@557 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:20:48 +00:00
cweiske
ac4e66c360 enable voting when testing voting, test countBookmarks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@485 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-31 10:19:38 +00:00
cweiske
39db481506 unification test was unstable, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@464 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:33:36 +00:00
cweiske
63f82a4101 test was unstable and did not work with empty users table
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@463 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:32:15 +00:00
cweiske
80464e45e8 test previously fixed bug: voting was updated for all bookmarks, not only the current one
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@449 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:16:37 +00:00
cweiske
3f340acd2b add eric and ben as authors
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@429 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 06:39:59 +00:00
cweiske
09fffebffe test if deleting bookmarks works. to do this, we need a new testbase method to create users, plus we need to return the uid when creating a new user. registration process needs to be adopted to that.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@417 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:32:48 +00:00
cweiske
c4ce5438a8 make bookmark tests work again
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@415 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:28:23 +00:00
cweiske
05defe72d8 introduce testbase class and make all tests runnable standalone
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@410 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:31:31 +00:00
Renamed from tests/BookmarksTest.php (Browse further)