Skip to content
Snippets Groups Projects
Commit 1d5b6183 authored by catch's avatar catch
Browse files

Issue #3404106 by quietone, smustgrave, longwave: Fix test performance of...

Issue #3404106 by quietone, smustgrave, longwave: Fix test performance of \Drupal\Tests\config_translation\Functional\ConfigTranslationInstallTest
parent 86a0d306
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
namespace Drupal\Tests\config_translation\Functional;
use Drupal\FunctionalTests\Installer\InstallerTestBase;
use Drupal\Tests\node\Traits\ContentTypeCreationTrait;
/**
* Installs the config translation module on a site installed in non english.
......@@ -11,6 +12,8 @@
*/
class ConfigTranslationInstallTest extends InstallerTestBase {
use ContentTypeCreationTrait;
/**
* {@inheritdoc}
*/
......@@ -19,7 +22,7 @@ class ConfigTranslationInstallTest extends InstallerTestBase {
/**
* {@inheritdoc}
*/
protected $profile = 'standard';
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
......@@ -60,6 +63,9 @@ protected function getPo($langcode) {
}
public function testConfigTranslation() {
\Drupal::service('module_installer')->install(['node', 'field_ui']);
$this->createContentType(['type' => 'article']);
$this->drupalGet('admin/config/regional/language/add');
$this->submitForm(['predefined_langcode' => 'en'], 'Add custom language');
$this->drupalGet('admin/config/regional/language/add');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment