function MigrateSimpletestSettingsTest::testMigration
Tests migration of SimpleTest settings to configuration.
File
-
core/
modules/ simpletest/ tests/ src/ Kernel/ Migrate/ d7/ MigrateSimpletestSettingsTest.php, line 28
Class
- MigrateSimpletestSettingsTest
- Tests migration of SimpleTest's variables to configuration.
Namespace
Drupal\Tests\simpletest\Kernel\Migrate\d7Code
public function testMigration() {
$config = \Drupal::config('simpletest.settings')->get();
$this->assertTrue($config['clear_results']);
$this->assertIdentical(CURLAUTH_BASIC, $config['httpauth']['method']);
$this->assertIdentical('testbot', $config['httpauth']['username']);
$this->assertIdentical('foobaz', $config['httpauth']['password']);
$this->assertTrue($config['verbose']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.