public function XmlRpcBasicTest::testMethodSignature in xmlrpc 8
Ensure that system.methodSignature returns an array of signatures.
File
- src/
Tests/ XmlRpcBasicTest.php, line 56
Class
- XmlRpcBasicTest
- Perform basic XML-RPC tests that do not require addition callbacks.
Namespace
Drupal\xmlrpc\TestsCode
public function testMethodSignature() {
$signature = $this
->xmlRpcGet([
'system.methodSignature' => [
'system.listMethods',
],
]);
$this
->assert(is_array($signature) && !empty($signature) && is_array($signature[0]), 'system.methodSignature returns an array of signature arrays.');
}