aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/HistoryTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Add strict types for bookmarks managementArthurHoaro2020-10-131-8/+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.
* Compatibility with PHPUnit 9ArthurHoaro2020-09-291-2/+1
|
* Convert legacy PHPUnit @expected* to new ->expect*ArthurHoaro2020-09-271-6/+6
| | | | 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
|
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-117/+123
| | | | See #1307
* namespacing: \Shaarli\FileUtilsVirtualTam2019-01-121-1/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\HistoryVirtualTam2019-01-121-2/+5
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add history entries for API endpointArthurHoaro2017-05-071-12/+12
| | | | CHANGED: datetime is now store as an object in history store file
* History: lazy loading for the history fileArthurHoaro2017-03-211-3/+15
| | | | Only read it when it's necessary
* History mechanismArthurHoaro2017-03-211-0/+195
Use case: rest API service * saved by default in data/history * same format as datastore.php * traced events: * save/edit/delete link * change settings or plugins settings * rename tag