function VudWebTestCase::testVotesTab in Vote Up/Down 7
Same name and namespace in other branches
- 6.3 vud.test \VudWebTestCase::testVotesTab()
- 6.2 vud.test \VudWebTestCase::testVotesTab()
- 7.2 vud.test \VudWebTestCase::testVotesTab()
Test votes tab at account page.
File
- ./
vud.test, line 60 - Test file for Vote Up/Down.
Class
- VudWebTestCase
- TODO test casting vote TODO test changing voting api tag after casting votes, and see if votes change TODO test vote reset
Code
function testVotesTab() {
$this
->drupalLogin($this->simple_user);
// Check empty user account votes
$this
->clickLink(t('My account'));
$this
->clickLink(t('Votes'));
$this
->assertNoRaw('<td>', t('No votes found.'));
}