public function RateWidgetListTest::testEntityTypeList in Rate 8.2
Listing of rate widgets.
File
- tests/
src/ Functional/ RateWidgetListTest.php, line 27
Class
- RateWidgetListTest
- Testing the listing functionality for the Rate widget entity.
Namespace
Drupal\Tests\rate\FunctionalCode
public function testEntityTypeList() {
$this->user = $this
->drupalCreateUser([
'administer rate',
]);
$this
->drupalLogin($this->user);
$this
->drupalGet('admin/structure/rate_widgets');
$this
->assertResponse(200);
$this
->drupalGet('<front>');
$this
->assertResponse(200);
}