aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bookmark/BookmarkFileServiceTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Add strict types for bookmarks managementArthurHoaro2020-10-131-44/+0
| | | | | | | | Parameters typing and using strict types overall increase the codebase quality by enforcing the a given parameter will have the expected type. It also removes the need to unnecessary unit tests checking methods behavior with invalid input.
* Add mutex on datastore I/O operationsArthurHoaro2020-10-131-19/+25
| | | | | | To make sure that there is no concurrent operation on the datastore file. Fixes #1132
* Fix missing @expectedException convertionArthurHoaro2020-09-291-2/+1
|
* Compatibility with PHPUnit 9ArthurHoaro2020-09-291-2/+2
|
* Convert legacy PHPUnit @expected* to new ->expect*ArthurHoaro2020-09-271-42/+42
| | | | Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
* Comply with PHPUnit V8: setup/teardown functions must return voidArthurHoaro2020-09-261-1/+1
|
* Merge pull request #1552 from ArthurHoaro/feature/better-initializerArthurHoaro2020-09-121-7/+11
|\
| * Improve default bookmarks after installArthurHoaro2020-09-101-7/+11
| | | | | | | | | | | | | | Used @nodiscc suggestion in #1148 (slightly edited). It provides a description of what Shaarli does, Markdown rendering demo, and a thumbnail link. Fixes #1148
* | Fix visibility issue on daily pageArthurHoaro2020-09-061-0/+30
|/ | | | | | This filter (links by day) didn't apply any visibility parameter. Fixes #1543
* Fix basePath in unit tests reference DBArthurHoaro2020-07-281-2/+2
|
* Better support for notes permalinkArthurHoaro2020-07-281-2/+2
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-231-10/+10
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Handle tag filtering in the Bookmark serviceArthurHoaro2020-07-231-5/+0
|
* Fix an issue with private tags and fix nomarkdown tagArthurHoaro2020-01-181-0/+41
| | | | | | | | The new bookmark service wasn't handling private tags properly. nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists. Fixes #726
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-0/+1042
See #1307