We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec5a4d commit c628461Copy full SHA for c628461
test/IntercomAdminsTest.php
@@ -20,4 +20,12 @@ public function testAdminsGet()
20
$users = new IntercomAdmins($stub);
21
$this->assertEquals('foo', $users->getAdmin(1));
22
}
23
+
24
+ public function testAdminsGetPath()
25
+ {
26
+ $stub = $this->getMockBuilder('Intercom\IntercomClient')->disableOriginalConstructor()->getMock();
27
28
+ $users = new IntercomAdmins($stub);
29
+ $this->assertEquals('admins/1', $users->adminPath(1));
30
+ }
31
0 commit comments