public function NodeRateWidgetThumbsUpDownTest::testVoting in Rate 8.2
Tests voting.
File
- tests/
src/ FunctionalJavascript/ NodeRateWidgetThumbsUpDownTest.php, line 46
Class
- NodeRateWidgetThumbsUpDownTest
- Tests for the "Thumbs Up / Down" 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');
}