Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/call/__tests__/ConduitCallTestCase.php
| Show All 17 Lines | public function testConduitAuth() { | ||||
| try { | try { | ||||
| $result = $call->execute(); | $result = $call->execute(); | ||||
| } catch (ConduitException $ex) { | } catch (ConduitException $ex) { | ||||
| $caught = $ex; | $caught = $ex; | ||||
| } | } | ||||
| $this->assertTrue( | $this->assertTrue( | ||||
| ($caught instanceof ConduitException), | ($caught instanceof ConduitException), | ||||
| "user.whoami should require authentication"); | 'user.whoami should require authentication'); | ||||
| } | } | ||||
| } | } | ||||