You are here

AdvPollSingleChoice.test in Advanced Poll 7.3

File

tests/AdvPollSingleChoice.test
View source
<?php

/**
 * @file
 */
class AdvPollSingleChoice extends AdvPollTestBase {

  /**
   * {@inheritdoc}
   */
  public static function getInfo() {
    return array(
      'name' => 'Advanced Poll Single Choice',
      'description' => 'Test the operation of a single choice poll.',
      'group' => 'Advanced Poll',
    );
  }
  public function testSingleChoicePoll() {
    $node = $this
      ->createPoll();
    $this
      ->drupalGet('node/' . $node->nid);
    $this
      ->assertText($node->title);
  }

}

Classes

Namesort descending Description
AdvPollSingleChoice @file