Provide a "--local" flag to "bin/conduit call" to force in-process execution
[phabricator/blender.git] / src / __tests__ / PhabricatorConduitTestCase.php
blob3a9c6911bc6965df6bc02ebe6c3543d4b51ce61c
1 <?php
3 final class PhabricatorConduitTestCase extends PhabricatorTestCase {
5 public function testConduitMethods() {
6 $methods = id(new PhutilClassMapQuery())
7 ->setAncestorClass('ConduitAPIMethod')
8 ->execute();
10 // We're just looking for a side effect of ConduitCall construction
11 // here: it will throw if any methods define reserved parameter names.
13 foreach ($methods as $method) {
14 new ConduitCall($method->getAPIMethodName(), array());
17 $this->assertTrue(true);