Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Zotlabs: Improve type safety for AccessList class. | Harald Eilertsen | 2023-07-18 | 1 | -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 Eilertsen | 2023-07-12 | 1 | -1/+21 |
| | |||||
* | tests: AccessListTest move type annotation to code | Harald Eilertsen | 2023-07-12 | 1 | -3/+2 |
| | | | | | This cleans up the doc comment. Should probably try to do this everywhere. | ||||
* | tests: AccessListTests nitpicking on doc comment. | Harald Eilertsen | 2023-07-12 | 1 | -1/+3 |
| | |||||
* | tests: AccessListTest collect defaults in one testcase. | Harald Eilertsen | 2023-07-12 | 1 | -10/+8 |
| | | | | Just no need to have them spread around in various other tests cases. | ||||
* | merge branch perms_ng into dev | Mario | 2021-12-15 | 3 | -33/+14 |
| | |||||
* | those would require dbunit | Mario | 2020-11-26 | 1 | -2/+5 |
| | |||||
* | fix test | Mario | 2020-11-26 | 1 | -1/+2 |
| | |||||
* | revert folder renaming | Mario | 2020-11-26 | 4 | -0/+692 |
| | |||||
* | psr-4 autoloading standard | Mario | 2020-11-26 | 4 | -692/+0 |
| | |||||
* | fix permission role test | Mario Vavti | 2018-04-23 | 1 | -1/+1 |
| | |||||
* | fix permissionlimitstest after recent changes | zotlabs | 2018-04-21 | 1 | -1/+1 |
| | |||||
* | an attemot to fix the PermissionRolesTest | Mario Vavti | 2018-03-23 | 1 | -1/+2 |
| | |||||
* | :white_check_mark: unit tests for Zotlabs\Access classes. | Klaus Weidenbach | 2017-11-10 | 3 | -35/+387 |
| | |||||
* | :white_check_mark: Some more work on unit tests. | Klaus Weidenbach | 2017-10-29 | 2 | -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 Weidenbach | 2017-05-17 | 1 | -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 Weidenbach | 2017-05-01 | 1 | -0/+189 |
Also some Doxygen docu for this class. |