RateWidgetListTest.php in Rate 8.2
File
tests/src/Functional/RateWidgetListTest.php
View source
<?php
namespace Drupal\Tests\rate\Functional;
class RateWidgetListTest extends RateWidgetTestBase {
protected $defaultTheme = 'stable';
protected $user;
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);
}
}