FileUploadSecureValidatorUpdateTest.php in File Upload Secure Validator 8
File
tests/src/Functional/Update/FileUploadSecureValidatorUpdateTest.php
View source
<?php
namespace Drupal\Tests\file_upload_secure_validator\Functional\Update;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
class FileUploadSecureValidatorUpdateTest extends UpdatePathTestBase {
protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [
__DIR__ . '/../../../fixtures/update/drupal-8.file_upload_secure_validator.php.gz',
];
}
public function testUpdateConfiguration() {
$this
->runUpdates();
$config = $this
->config('file_upload_secure_validator.settings');
$this
->assertNotNull($config
->get('mime_types_equivalence_groups'));
}
}