diff --git a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php index 864145f..35ca41c 100644 --- a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php +++ b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php @@ -133,7 +133,7 @@ public function testNodeTypeUpdate() { $configuration = ContentLanguageSettings::loadByEntityTypeBundle('node', 'article'); $uuid = $configuration->uuid(); $this->assertEqual($configuration->getDefaultLangcode(), 'current_interface', 'The default language configuration has been saved on the Article content type.'); - $this->assertEqual($configuration->isLanguageAlterable(), TRUE, 'The alterable language configuration has been saved on the Article content type.'); + $this->assertTrue($configuration->isLanguageAlterable(), 'The alterable language configuration has been saved on the Article content type.'); // Rename the article content type. $edit = array( 'type' => 'article_2' @@ -142,7 +142,7 @@ public function testNodeTypeUpdate() { // Check that we still have the settings for the new node type. $configuration = ContentLanguageSettings::loadByEntityTypeBundle('node', 'article_2'); $this->assertEqual($configuration->getDefaultLangcode(), 'current_interface', 'The default language configuration has been kept on the new Article content type.'); - $this->assertEqual($configuration->isLanguageAlterable(), TRUE, 'The alterable language configuration has been kept on the new Article content type.'); + $this->assertTrue($configuration->isLanguageAlterable(), 'The alterable language configuration has been kept on the new Article content type.'); $this->assertEqual($configuration->uuid(), $uuid, 'The language configuration uuid has been kept on the new Article content type.'); } @@ -168,7 +168,7 @@ public function testTaxonomyVocabularyUpdate() { $configuration = ContentLanguageSettings::loadByEntityTypeBundle('taxonomy_term', 'country'); $uuid = $configuration->uuid(); $this->assertEqual($configuration->getDefaultLangcode(), 'current_interface', 'The default language configuration has been saved on the Country vocabulary.'); - $this->assertEqual($configuration->isLanguageAlterable(), TRUE, 'The alterable language configuration has been saved on the Country vocabulary.'); + $this->assertTrue($configuration->isLanguageAlterable(), 'The alterable language configuration has been saved on the Country vocabulary.'); // Rename the vocabulary. $edit = array( 'vid' => 'nation' @@ -177,7 +177,7 @@ public function testTaxonomyVocabularyUpdate() { // Check that we still have the settings for the new vocabulary. $configuration = ContentLanguageSettings::loadByEntityTypeBundle('taxonomy_term', 'nation'); $this->assertEqual($configuration->getDefaultLangcode(), 'current_interface', 'The default language configuration has been kept on the new Country vocabulary.'); - $this->assertEqual($configuration->isLanguageAlterable(), TRUE, 'The alterable language configuration has been kept on the new Country vocabulary.'); + $this->assertTrue($configuration->isLanguageAlterable(), 'The alterable language configuration has been kept on the new Country vocabulary.'); $this->assertEqual($configuration->uuid(), $uuid, 'The language configuration uuid has been kept on the new Country vocabulary.'); }