MigrateSystemImageGdTest.php in Zircon Profile 8
Same filename and directory in other branches
Namespace
Drupal\system\Tests\Migrate\d6File
core/modules/system/src/Tests/Migrate/d6/MigrateSystemImageGdTest.phpView source
<?php
/**
* @file
* Contains \Drupal\system\Tests\Migrate\d6\MigrateSystemImageGdTest.
*/
namespace Drupal\system\Tests\Migrate\d6;
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
/**
* Upgrade image gd variables to system.*.yml.
*
* @group migrate_drupal_6
*/
class MigrateSystemImageGdTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this
->executeMigration('d6_system_image_gd');
}
/**
* Tests migration of system (image GD) variables to system.image.gd.yml.
*/
public function testSystemImageGd() {
$config = $this
->config('system.image.gd');
$this
->assertIdentical(75, $config
->get('jpeg_quality'));
}
}
Classes
Name![]() |
Description |
---|---|
MigrateSystemImageGdTest | Upgrade image gd variables to system.*.yml. |