You are here

public function MultivalueTest::testNoneOption in Chosen 3.0.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/MultivalueTest.php \Drupal\Tests\chosen\Functional\MultivalueTest::testNoneOption()

Tests that the _none option is removed.

File

tests/src/Functional/MultivalueTest.php, line 95

Class

MultivalueTest
Tests that multivalue select fields are handled properly.

Namespace

Drupal\Tests\chosen\Functional

Code

public function testNoneOption() {
  $this
    ->drupalGet('node/add/article');
  $this
    ->assertSession()
    ->responseNotContains('_none');
}