1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Arsse/tests
J. King e74a3ae3cb Fix numerous bugs when adding or changing folders
- Specifying a non-integer parent no longer silently casts to 0 or 1
- Specifying a folder ID of 0 now always converts to null automatically
- Performing both a rename and move to root in the same operation no longer results in potential duplicates
- Calling folderSetProperties with an empty data array no peforms an update; it now returns false before the update call
- Modification timestamps are now actually updated when a folder is modified
- Constraint violation exceptions triggered by code (rather than the database) now print a message
- Renaming a folder or subscription to a non-string value (e.g. an array) throws an exception rather than silently casting
- Added tests to better cover all the above
- Centralized the normalization of integers and title strings into a new ValueInfo static class
2017-09-26 16:45:41 -04:00
..
Conf Fix export of nulls in Conf 2017-08-29 23:17:57 -04:00
Db More CS fixes 2017-08-29 11:16:37 -04:00
docroot Passed code through linter 2017-08-29 10:50:31 -04:00
Exception Passed code through linter 2017-08-29 10:50:31 -04:00
Feed More CS fixes 2017-08-29 11:16:37 -04:00
Lang Sundry fixes 2017-09-05 19:35:14 -04:00
lib Fix numerous bugs when adding or changing folders 2017-09-26 16:45:41 -04:00
Misc Passed code through linter 2017-08-29 10:50:31 -04:00
REST/NextCloudNews Sundry fixes 2017-09-05 19:35:14 -04:00
Service Passed code through linter 2017-08-29 10:50:31 -04:00
User Passed code through linter 2017-08-29 10:50:31 -04:00
phpunit.xml Implement article cleanup; fixes #28 2017-08-17 22:36:15 -04:00
server.php More CS fixes 2017-08-29 11:16:37 -04:00
test Feed tests: fetching and parsing 2017-05-27 18:15:52 -04:00
test.bat Feed tests: fetching and parsing 2017-05-27 18:15:52 -04:00