You are here

function DisqusAPITest::test_setVersion in Drupal Most Popular 7

File

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

Class

DisqusAPITest

Code

function test_setVersion() {
  $api = new DisqusAPI();
  $this
    ->assertEquals($api->version, '3.0');
  $api
    ->setVersion('3.1');
  $this
    ->assertEquals($api->version, '3.1');
}