aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Access/AccessListTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade test framework to PHPUnit 10.5Harald Eilertsen2024-05-271-1/+1
|
* Zotlabs: Improve type safety for AccessList class.Harald Eilertsen2023-07-181-10/+26
| | | | | | | | | | | | | Add type annotations for constructor and set* methods, and throw an exception if the passed in arrays are missing required keys. This means that both invalid input types and missing keys will throw and exception rather than just die with a runtime error. There's not checks to verify that the contents of the required array keys are valid or make sense, though. They are just assigned, and returned as is by the get method when requested. Also, the set_from_array method is not well tested at the moment.
* tests: AccessListTest expand is_private test.Harald Eilertsen2023-07-121-1/+21
|
* tests: AccessListTest move type annotation to codeHarald Eilertsen2023-07-121-3/+2
| | | | | This cleans up the doc comment. Should probably try to do this everywhere.
* tests: AccessListTests nitpicking on doc comment.Harald Eilertsen2023-07-121-1/+3
|
* tests: AccessListTest collect defaults in one testcase.Harald Eilertsen2023-07-121-10/+8
| | | | Just no need to have them spread around in various other tests cases.
* those would require dbunitMario2020-11-261-2/+5
|
* revert folder renamingMario2020-11-261-0/+191
|
* psr-4 autoloading standardMario2020-11-261-191/+0
|
* :white_check_mark: Some more work on unit tests.Klaus Weidenbach2017-10-291-1/+3
| | | | | | Some small improvements for coverage report. Add more functions from include/text.php Update composer dev libraries for phpunit.
* :white_check_mark::bulb: Add Unit Tests for AccessList class.Klaus Weidenbach2017-05-011-0/+189
Also some Doxygen docu for this class.