Commit Graph

224 Commits

Author SHA1 Message Date
Christian Weiske
25ae541840 fix timing bug in tests by using title sort order instead of date sort, fix bug when no user was in db 2013-03-21 18:23:34 +01:00
Christian Weiske
dfaf1d026a Fix two broken tests 2013-03-21 17:57:48 +01:00
Christian Weiske
26352761d3 The hasTag was always returning false, which probably is a bug. Fixed it and added a test to catch it. Thanks for Ricardo Soares de Lima for the first patch version 2013-03-21 06:49:37 +01:00
Ricardo Soares de Lima
2f865db513 The method attachTags was raising a Notice error, fix it and adds a test for this situation. 2013-03-21 06:42:13 +01:00
Christian Weiske
3e2d817fc7 fix tag::normalize test 2013-03-21 06:40:17 +01:00
Christian Weiske
c4ba9ef2d2 add (broken) tests for Services_Tag::normalize and Bookmark2Tag::attachTags with some empty tags 2013-03-21 06:39:11 +01:00
Christian Weiske
85e2ccd942 remove php4-style object reference passing #2 2013-03-20 20:00:25 +01:00
Christian Weiske
d0ed9adec8 remove php4-style object reference passing 2013-03-17 22:22:16 +01:00
Christian Weiske
cb4b0469ca skip tests if unittest url is not set instead of failing 2012-01-25 23:20:51 +01:00
Christian Weiske
814f99d471 Fix bug #3111254: getIdFromUser() always returns an integer now (part 2) 2012-01-21 12:38:17 +01:00
Christian Weiske
a9df65da08 Fix bug #3468293: Delicious import does not preserve private links 2012-01-20 21:27:04 +01:00
Christian Weiske
1226015681 test file for #3469257: file with long description 2012-01-20 14:15:57 +01:00
Christian Weiske
34600fe502 Fix bug: URLs were escaped too often in bookmark list 2011-09-05 18:50:49 +02:00
Christian Weiske
9c18fe1cc7 Fix bug #3386178: "system:unfiled" secret tag does not work 2011-08-05 06:47:37 +02:00
Christian Weiske
c1528d1c5b we can retrieve system tags now 2011-08-05 06:33:40 +02:00
Christian Weiske
4775d7bf5a Fix bug #3376618: Broken tag completion for private bookmarks 2011-08-01 18:25:14 +02:00
Christian Weiske
320d673344 Fix bug #3160512: Make SemantiScuttle work with FastCGI 2011-07-23 14:19:09 +02:00
Christian Weiske
82ee59779e support global and per-host configuration files 2011-07-21 21:32:48 +02:00
Christian Weiske
3d11286cbc privatekey -> privateKey everywhere 2011-06-27 22:31:24 +02:00
Christian Weiske
763d394436 test global feed with private bookmarks 2011-06-27 22:27:17 +02:00
Christian Weiske
673fdc8758 rename methods to keep them clear 2011-06-27 21:55:07 +02:00
Christian Weiske
57a5f6864d add own assertion to make it easier to switch to atom 2011-06-27 20:04:03 +02:00
Christian Weiske
588d63a2c7 better method names 2011-06-27 19:59:06 +02:00
Christian Weiske
f2ac531f26 test that using the private key does not leave unwanted login cookies 2011-06-27 19:52:02 +02:00
Christian Weiske
6ec3b102aa make the private tests really test something 2011-06-27 19:39:38 +02:00
Christian Weiske
d2aecd8a76 move private key generation to adduser 2011-06-27 19:16:33 +02:00
Christian Weiske
9eab02af5f fix typo 2011-06-27 19:09:19 +02:00
Mark Pemberton
045d139d64 Added RSS Feed tests 2011-06-15 00:58:29 -04:00
Christian Weiske
5deeecc408 make bookmarks.php tests easier to read and use the TestBaseApi to get the urls 2011-06-08 07:22:13 +02:00
Christian Weiske
5009535d34 docblocks for url and urlPart variables 2011-06-08 07:21:33 +02:00
Christian Weiske
39dfe3f1ac CS 2011-06-08 07:00:24 +02:00
Christian Weiske
44a65eddac fix tests for people that use a separate test database 2011-06-08 07:00:17 +02:00
Mark Pemberton
cd2756a4d0 Refined bookmarksTest.php and added indexTest.php 2011-06-07 22:13:50 -04:00
Mark Pemberton
84e603aa91 Reverted changes of date() to gdate(), added tests to confirm existence of private RSS feed, and finalized changes to the user session usage with rss.php 2011-06-04 00:29:04 -04:00
Mark Pemberton
342d1c3205 Altered tests to be more timezone friendly 2011-05-21 22:06:44 -04:00
Mark Pemberton
b105867e75 Merge branch 'master' into privatekey2 2011-05-21 21:38:25 -04:00
Mark Pemberton
e0149e24e2 Resolve some failed bookmark and tag tests 2011-05-21 14:36:29 -04:00
Christian Weiske
1bbc36f8a4 fix test 2011-05-20 17:08:39 +02:00
Christian Weiske
191f08683e all but one test work now with a different unittest database 2011-05-20 07:02:52 +02:00
Christian Weiske
675aa6291a automatically append unittestmode parameter to url 2011-05-20 06:58:28 +02:00
Mark Pemberton
5203848b12 revert getBookmarks() back to original 2011-05-19 19:40:22 -04:00
Christian Weiske
ef23f01eba begin supporting a different database for unit tests 2011-05-19 07:38:35 +02:00
Mark Pemberton
ec345f7a13 new privatekey2 branch with privatekey changes 2011-05-13 14:26:51 -04:00
Christian Weiske
88d7b9631b Merge branch 'master' into configurable-privacy2 2011-05-12 19:25:03 +02:00
Christian Weiske
aea9c9ddbb fix a test that failed when using a base URL without protocol 2011-05-12 19:09:30 +02:00
bretticvs
fc093a5fe5 Moved testDefaultPrivacyEdit() to tests/www/editTest.php.
Moved testDefaultPrivacyImportNetscape() to tests/www/importNetscapeTest.php.
Moved testDefaultPrivacyImport() to tests/www/importTest.php.
Moved testDefaultPrivacyBookmarksAddMissingTitleMissingPrivacy() to tests/www/bookmarksTest.php.
Moved testDefaultPrivacyBookmarksAdd() to tests/www/bookmarksTest.php.
Kept testDefaultPrivacyPrivate() in tests/api/PostsAddTest.php.
Kept testDefaultPrivacyPublic() in tests/api/PostsAddTest.php.
2011-05-05 16:24:21 -06:00
Christian Weiske
4a3fdcc4dd rename test method 2011-05-03 19:10:30 +02:00
Christian Weiske
fb11021ed7 do not add bookmarks with an invalid URL 2011-05-03 19:10:12 +02:00
Christian Weiske
2077464d46 begin bookmark model class with URL validation method 2011-05-03 09:14:32 +02:00
Christian Weiske
8be81abfe6 merge master 2011-05-02 18:07:15 +02:00