You are here

function DisqusAPITest::test_posts_create in Drupal Most Popular 7

@expectedException DisqusAPIError

File

modules/mostpopular_disqus/disqusapi/tests/disqusapi.php, line 61

Class

DisqusAPITest

Code

function test_posts_create() {
  $api = new DisqusAPI($this->secret);
  $api->posts
    ->create(array(
    'message' => 'bar',
  ));
}