fix XMLRPC server tests
commit12b99753267c30cd2730a96084b519295d521162
authorAndreas Gohr <andi@splitbrain.org>
Sun, 7 Jan 2024 10:22:36 +0000 (7 11:22 +0100)
committerAndreas Gohr <andi@splitbrain.org>
Sun, 7 Jan 2024 12:41:19 +0000 (7 13:41 +0100)
tree6d1a596d7f098bb5dbbea5766ce0f1791ca59f9b
parent801ecc14bc74dea1cd6f1c072fc06db8b1c8433b
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.
_test/tests/Remote/Mock/ApiCore.php
_test/tests/Remote/Mock/XmlRpcServer.php [new file with mode: 0644]
_test/tests/Remote/XmlRpcServerTest.php [new file with mode: 0644]
_test/tests/inc/XmlRpcServer.test.php [deleted file]
inc/Remote/Api.php