Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/__tests__/PhabricatorConduitTestCase.php
12240 views
1
<?php
2
3
final class PhabricatorConduitTestCase extends PhabricatorTestCase {
4
5
public function testConduitMethods() {
6
$methods = id(new PhutilClassMapQuery())
7
->setAncestorClass('ConduitAPIMethod')
8
->execute();
9
10
// We're just looking for a side effect of ConduitCall construction
11
// here: it will throw if any methods define reserved parameter names.
12
13
foreach ($methods as $method) {
14
new ConduitCall($method->getAPIMethodName(), array());
15
}
16
17
$this->assertTrue(true);
18
}
19
}
20
21