aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'tests/fix-db-and-ci-integration' into 'dev'Mario2024-01-061-3/+44
|\ | | | | | | | | tests: Integrate the DB in "unit" tests. See merge request hubzilla/core!2081
| * tests: Integrate the DB in "unit" tests.Harald Eilertsen2024-01-061-3/+44
| |
* | port test for JcsEddsa2022 from streamsMario2024-01-061-0/+174
|/
* Fix deserialization of config values broken by 69266cd6.Harald Eilertsen2023-12-171-0/+61
| | | | | | | | | | | | | | | This should fix issue #1828. This patch makes it explicit that we store arrays in the config as json encoded arrays, while we allow both json encoded and PHP serialized arrays to be deserialized correctly. Unless it's a brand new install, the existing data in the database will be PHP serialized. I've also added a hardening measure in case we fall back to PHP unserialize, making sure we're not vulnerable to a PHP Object Injection attack. This means that deserializing arrays containing PHP objects will no longer work, but afaict we never do that anyways, so I don't think that should break anything.
* get devHilmar R2021-03-011-0/+93
|
* :white_check_mark::bulb: Add Unit Tests for AccessList class.Klaus Weidenbach2017-05-011-0/+2
| | | | Also some Doxygen docu for this class.
* :construction_worker: :arrow_up: :heavy_plus_sign: Update PHPUnit to current ↵Klaus Weidenbach2017-03-141-72/+57
| | | | | | | stable 6. Update requirements to PHP7 for dev. Add php-mock-phpunit to mock and stub global functions in a better way.
* [BUGFIX] for fromStandalonePermission().Klaus Weidenbach2016-10-201-0/+110
Not sure if this method is used anywhere, but it should not have worked correctly. This should correct it. Add a unit test for this class.