You are here

public function ImceSettingsFormTest::testProfileOptions in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Form/ImceSettingsFormTest.php \Drupal\Tests\imce\Kernel\Form\ImceSettingsFormTest::testProfileOptions()

Test method getProfileOptions().

File

tests/src/Kernel/Form/ImceSettingsFormTest.php, line 64

Class

ImceSettingsFormTest
Kernel tests for ImceSettingsForm.

Namespace

Drupal\Tests\imce\Kernel\Form

Code

public function testProfileOptions() {
  $options = $this->imceSettingsForm
    ->getProfileOptions();
  $this
    ->assertIsArray($options);
  $this
    ->assertTrue(in_array('-' . $this
    ->t('None') . '-', $options));
}