X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FTests%2FConfigTranslationInstallTest.php;fp=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FTests%2FConfigTranslationInstallTest.php;h=0000000000000000000000000000000000000000;hp=2c8aabcab4f910aee59064f1ab5a0e5e1adccfbc;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php b/web/core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php deleted file mode 100644 index 2c8aabcab..000000000 --- a/web/core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php +++ /dev/null @@ -1,74 +0,0 @@ -siteDirectory . '/files/translations', 0777, TRUE); - file_put_contents(DRUPAL_ROOT . '/' . $this->siteDirectory . '/files/translations/drupal-8.0.0.eo.po', $this->getPo('eo')); - - parent::setUpLanguage(); - - $this->translations['Save and continue'] = 'Save and continue eo'; - } - - /** - * Returns the string for the test .po file. - * - * @param string $langcode - * The language code. - * @return string - * Contents for the test .po file. - */ - protected function getPo($langcode) { - return <<drupalPostForm('admin/config/regional/language/add', ['predefined_langcode' => 'en'], t('Add custom language')); - $this->drupalPostForm('admin/config/regional/language/add', ['predefined_langcode' => 'fr'], t('Add custom language')); - - $edit = [ - 'modules[config_translation][enable]' => TRUE, - ]; - $this->drupalPostForm('admin/modules', $edit, t('Install')); - - $this->drupalGet('/admin/structure/types/manage/article/fields'); - $this->assertResponse(200); - } - -}