aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Access
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* merge branch perms_ng into devMario2021-12-153-33/+14
|
* those would require dbunitMario2020-11-261-2/+5
|
* fix testMario2020-11-261-1/+2
|
* revert folder renamingMario2020-11-264-0/+692
|
* psr-4 autoloading standardMario2020-11-264-692/+0
|
* fix permission role testMario Vavti2018-04-231-1/+1
|
* fix permissionlimitstest after recent changeszotlabs2018-04-211-1/+1
|
* an attemot to fix the PermissionRolesTestMario Vavti2018-03-231-1/+2
|
* :white_check_mark: unit tests for Zotlabs\Access classes.Klaus Weidenbach2017-11-103-35/+387
|
* :white_check_mark: Some more work on unit tests.Klaus Weidenbach2017-10-292-3/+5
| | | | | | Some small improvements for coverage report. Add more functions from include/text.php Update composer dev libraries for phpunit.
* :construction_worker::white_check_mark: Documentation Permissions.php.Klaus Weidenbach2017-05-171-0/+148
| | | | | Also add some phpunit tests for this class, but there are some problems yet with mocking static functions.
* :white_check_mark::bulb: Add Unit Tests for AccessList class.Klaus Weidenbach2017-05-011-0/+189
Also some Doxygen docu for this class.