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