You are here

public function ReferenceTest::testEmptyOption in Select (or other) 8

Same name and namespace in other branches
  1. 4.x tests/src/Functional/ReferenceTest.php \Drupal\Tests\select_or_other\Functional\ReferenceTest::testEmptyOption()

Make sure an empty option is present when relevant.

Overrides TestBase::testEmptyOption

File

tests/src/Functional/ReferenceTest.php, line 28

Class

ReferenceTest
Tests the the functionality of the Reference widget.

Namespace

Drupal\Tests\select_or_other\Functional

Code

public function testEmptyOption($empty_option = '') {
  parent::testEmptyOption('My cool new value');
}