feedback_simple.test 669 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @file
  4. * Test file.
  5. */
  6. /**
  7. * Functional tests.
  8. */
  9. class FeedbackSimpleTestCase extends DrupalWebTestCase {
  10. public static function getInfo() {
  11. return array(
  12. 'name' => 'Feedback Simple',
  13. 'description' => 'Tests if the Feedback Simple tab is enabled.',
  14. 'group' => 'Feedback Simple',
  15. );
  16. }
  17. public function setUp() {
  18. parent::setUp('feedback_simple');
  19. $web_user = $this->drupalCreateUser(array('access content'));
  20. $this->drupalLogin($web_user);
  21. }
  22. function testFeedbackSimple() {
  23. $this->drupalGet('<front>');
  24. $this->assertRaw("<div id='feedback_simple'>", 'The Feedback Simple tab is present.');
  25. }
  26. }