$this->assertLinkByHref($languages['es']->prefix.'/node/add/'.str_replace('_','-',$node->type),0,t('The "add translation" link for %language points to the localized path of the target language.',array('%language'=>$languages['es']->name)));
...
...
@@ -62,7 +73,8 @@ class TranslationTestCase extends DrupalWebTestCase {
$this->assertLinkByHref($languages['es']->prefix.'/node/'.$node_translation->nid.'/edit',0,t('The "edit" link for the translation in %language points to the localized path of the translation language.',array('%language'=>$languages['es']->name)));
$this->assertLinkByHref($languages['es']->prefix.'/node/'.$node_translation->nid,0,t('The "view" link for the translation in %language points to the localized path of the translation language.',array('%language'=>$languages['es']->name)));
...
...
@@ -83,13 +95,15 @@ class TranslationTestCase extends DrupalWebTestCase {
$this->assertEqual($duplicate->tnid,0,t('The node does not have a tnid.'));
// Update original and mark translation as outdated.