3 final class ConduitCallTestCase
extends PhabricatorTestCase
{
5 public function testConduitPing() {
6 $call = new ConduitCall('conduit.ping', array());
7 $result = $call->execute();
9 $this->assertFalse(empty($result));
12 public function testConduitAuth() {
13 $call = new ConduitCall('user.whoami', array(), true);
17 $result = $call->execute();
18 } catch (ConduitException
$ex) {
23 ($caught instanceof ConduitException
),
25 '%s should require authentication.',