AdvPollSingleChoice.test in Advanced Poll 7.3
File
tests/AdvPollSingleChoice.testView 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
Name | Description |
---|---|
AdvPollSingleChoice | @file |