You are here

public function FileUploadSecureValidatorUpdateTest::testUpdateConfiguration in File Upload Secure Validator 8

Tests upgrading configuration.

File

tests/src/Functional/Update/FileUploadSecureValidatorUpdateTest.php, line 26

Class

FileUploadSecureValidatorUpdateTest
Tests adding file_upload_secure_valitator module's configuration.

Namespace

Drupal\Tests\file_upload_secure_validator\Functional\Update

Code

public function testUpdateConfiguration() {

  // Run updates.
  $this
    ->runUpdates();
  $config = $this
    ->config('file_upload_secure_validator.settings');
  $this
    ->assertNotNull($config
    ->get('mime_types_equivalence_groups'));
}