MigrateSystemFileTest.php in Zircon Profile 8.0
File
core/modules/system/src/Tests/Migrate/d6/MigrateSystemFileTest.php
View source
<?php
namespace Drupal\system\Tests\Migrate\d6;
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
class MigrateSystemFileTest extends MigrateDrupal6TestBase {
protected function setUp() {
parent::setUp();
$this
->executeMigration('d6_system_file');
}
public function testSystemFile() {
$config = \Drupal::configFactory()
->getEditable('system.file');
$this
->assertIdentical('files/temp', $config
->get('path.temporary'));
$this
->assertIdentical(TRUE, $config
->get('allow_insecure_uploads'));
}
}