public function UITest::testUI in Text list formatter 8.2
Test the general output of the display formatter.
File
- lib/
Drupal/ textformatter/ Tests/ UITest.php, line 26 - Definition of Drupal\textformatter\Tests\UITest.
Class
- UITest
- Test the UI settings form for list fields.
Namespace
Drupal\textformatter\TestsCode
public function testUI() {
$this
->drupalLogin($this->adminUser);
$this
->drupalGet('admin/structure/types/manage/' . $this->contentType->type . '/display');
$this
->assertResponse(200);
$this
->assertText('Unordered HTML list (ul)');
$this
->assertText('CSS Class: textformatter-list');
}