Ejemplo n.º 1
0
 public function testComment()
 {
     $space = $this->api->space()->get($this->spaceId);
     $this->api->thread()->comment($this->spaceId, $space['defaultThread'], 'test thread comment');
     // kintone does not have the get thread api.
     self::assertTrue(true);
     $guestSpace = $this->api->space()->get($this->guestSpaceId, $this->guestSpaceId);
     $this->api->thread()->comment($this->guestSpaceId, $guestSpace['defaultThread'], 'test thread comment', [], [], $this->guestSpaceId);
     // kintone does not have the get thread api.
     self::assertTrue(true);
 }
Ejemplo n.º 2
0
 public function testThread()
 {
     self::assertTrue($this->api->thread() instanceof Thread);
 }