$this->assertEqual($configuration,array('langcode'=>'current_interface','language_hidden'=>0),'The default language configuration has been saved on the Article content type.');
$this->assertEqual($configuration,array('langcode'=>'current_interface','language_show'=>TRUE),'The default language configuration has been saved on the Article content type.');
// Rename the article content type.
$edit=array(
'type'=>'article_2'
...
...
@@ -135,6 +135,6 @@ public function testNodeTypeUpdate() {
$this->assertEqual($configuration,array('langcode'=>'current_interface','language_hidden'=>0),'The default language configuration has been kept on the new Article content type.');
$this->assertEqual($configuration,array('langcode'=>'current_interface','language_show'=>TRUE),'The default language configuration has been kept on the new Article content type.');
$this->assertField('langcode','Language is selectable on node add/edit page when language not hidden.');
$this->assertOptionSelected('edit-langcode','hu','The inital language is the site default on the node add page after the site default language is changed.');
$this->assertOptionSelected('edit-langcode','hu','The initial language is the site default on the node add page after the site default language is changed.');
// Tests if the language field can be rearranged on the manage fields tab.
$this->assertEqual($language_configuration['langcode'],'current_interface','The default language for article comments is set to the current interface language.');
$this->assertFalse($language_configuration['language_hidden'],'The language selector for article comments is shown.');
$this->assertTrue($language_configuration['language_show'],'The language selector for article comments is shown.');