Changes for core/modules/content_translation/tests/src/Functional/ContentTranslationEnableTest.php: 2 added lines, 2 removed lines.
Original line number
Diff line number
Diff line
@@ -36,8 +36,8 @@ public function testEnable() {
$this->submitForm($edit,'Install');
// Status messages are shown.
$this->assertSession()->pageTextContains('This site has only a single language enabled. Add at least one more language in order to translate content.');
$this->assertSession()->pageTextContains('Enable translation for content types, taxonomy vocabularies, accounts, or any other element you wish to translate.');
$this->assertSession()->statusMessageContains('This site has only a single language enabled. Add at least one more language in order to translate content.','warning');
$this->assertSession()->statusMessageContains('Enable translation for content types, taxonomy vocabularies, accounts, or any other element you wish to translate.','warning');