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