function DisplayTest::testFormDisplay
Same name in other branches
- 4.0.x modules/ctools_entity_mask/tests/src/Functional/DisplayTest.php \Drupal\Tests\ctools_entity_mask\Functional\DisplayTest::testFormDisplay()
Tests that the form display for a masked entity replicates its source.
File
-
modules/
ctools_entity_mask/ tests/ src/ Functional/ DisplayTest.php, line 52
Class
- DisplayTest
- Class DisplayTest.
Namespace
Drupal\Tests\ctools_entity_mask\FunctionalCode
public function testFormDisplay() {
$assert = $this->assertSession();
$this->drupalGet('/fake-block/add/basic');
$assert->statusCodeEquals(200);
$assert->fieldExists('Body');
$assert->fieldExists('Link');
$assert->fieldExists('Image');
}