mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 10:00:55 +01:00
20 lines
518 B
PHP
20 lines
518 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorConduitTestCase extends PhabricatorTestCase {
|
||
|
|
||
|
public function testConduitMethods() {
|
||
|
$methods = id(new PhutilSymbolLoader())
|
||
|
->setAncestorClass('ConduitAPIMethod')
|
||
|
->loadObjects();
|
||
|
|
||
|
// We're just looking for a side effect of ConduitCall construction
|
||
|
// here: it will throw if any methods define reserved parameter names.
|
||
|
|
||
|
foreach ($methods as $method) {
|
||
|
new ConduitCall($method->getAPIMethodName(), array());
|
||
|
}
|
||
|
|
||
|
$this->assertTrue(true);
|
||
|
}
|
||
|
}
|