12b99753 | 07-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix XMLRPC server tests
We test against the MockAPICore now since the tests are meant to ensure the general functionality of accepting XML and correctly calling APICalls works, not that the API retu
fix XMLRPC server tests
We test against the MockAPICore now since the tests are meant to ensure the general functionality of accepting XML and correctly calling APICalls works, not that the API returns the right things (this is tested in the ApiCore tests). Since we no longer use dates but always integers, we no longer need to handle that.
show more ...
|
7de5ac55 | 06-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Another argument parsing fix for ApiCall
When using named parameters, you can expect to be able to leave out any optional parameter and have it take it's default, even when you specify another "late
Another argument parsing fix for ApiCall
When using named parameters, you can expect to be able to leave out any optional parameter and have it take it's default, even when you specify another "later" parameter. Luckily we already know all the defaults from reflection anyway.
show more ...
|
5b379b50 | 01-Dec-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix ApiCall test on PHP7.4
Since PHP7.4 has no primitive type hints and PHP native methods have no accessible docblocks, we can not use a native function for testing (types always come back as strin
fix ApiCall test on PHP7.4
Since PHP7.4 has no primitive type hints and PHP native methods have no accessible docblocks, we can not use a native function for testing (types always come back as string).
show more ...
|