public function NodeRateWidgetThumbsUpTest::testVoting in Rate 8.2
Tests voting.
File
- tests/
src/ FunctionalJavascript/ NodeRateWidgetThumbsUpTest.php, line 45
Class
- NodeRateWidgetThumbsUpTest
- Tests for the "Thumbs Up" widget.
Namespace
Drupal\Tests\rate\FunctionalJavascriptCode
public function testVoting() {
// Log in as first user and vote 'Up'.
$this
->drupalLogin($this->users[1]);
$this
->drupalGet('node/1');
}