You are here

public function ImceSettingsFormTest::testBuildRolesProfilesTable 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::testBuildRolesProfilesTable()

Test method buildRolesProfilesTable().

File

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

Class

ImceSettingsFormTest
Kernel tests for ImceSettingsForm.

Namespace

Drupal\Tests\imce\Kernel\Form

Code

public function testBuildRolesProfilesTable() {
  $this
    ->assertIsArray($this->imceSettingsForm
    ->buildRolesProfilesTable($this->imceConfig
    ->get('roles_profiles') ?: []));
}