$this->assertRaw(l(t('Update test base theme'),'http://example.com/project/update_test_basetheme'),t('Link to the Update test base theme project appears.'));
$this->assertRaw(l(t('Update test base theme'),'http://example.com/project/update_test_basetheme'),'Link to the Update test base theme project appears.');
}
/**
...
...
@@ -512,13 +512,13 @@ class UpdateTestContribCase extends UpdateTestHelper {
$this->assertNoText(t('Themes'));
if($check_disabled){
$this->assertText(t('Disabled themes'));
$this->assertRaw($base_theme_project_link,t('Link to the Update test base theme project appears.'));
$this->assertRaw($sub_theme_project_link,t('Link to the Update test subtheme project appears.'));
$this->assertRaw($base_theme_project_link,'Link to the Update test base theme project appears.');
$this->assertRaw($sub_theme_project_link,'Link to the Update test subtheme project appears.');
}
else{
$this->assertNoText(t('Disabled themes'));
$this->assertNoRaw($base_theme_project_link,t('Link to the Update test base theme project does not appear.'));
$this->assertNoRaw($sub_theme_project_link,t('Link to the Update test subtheme project does not appear.'));
$this->assertNoRaw($base_theme_project_link,'Link to the Update test base theme project does not appear.');
$this->assertNoRaw($sub_theme_project_link,'Link to the Update test subtheme project does not appear.');
}
}
}
...
...
@@ -574,9 +574,9 @@ class UpdateTestContribCase extends UpdateTestHelper {
$this->assertUniqueText(t('Failed to get available update data for one project.'));
// The other two should be listed as projects.
$this->assertRaw(l(t('AAA Update test'),'http://example.com/project/aaa_update_test'),t('Link to aaa_update_test project appears.'));
$this->assertNoRaw(l(t('BBB Update test'),'http://example.com/project/bbb_update_test'),t('Link to bbb_update_test project does not appear.'));
$this->assertRaw(l(t('CCC Update test'),'http://example.com/project/ccc_update_test'),t('Link to bbb_update_test project appears.'));
$this->assertRaw(l(t('AAA Update test'),'http://example.com/project/aaa_update_test'),'Link to aaa_update_test project appears.');
$this->assertNoRaw(l(t('BBB Update test'),'http://example.com/project/bbb_update_test'),'Link to bbb_update_test project does not appear.');
$this->assertRaw(l(t('CCC Update test'),'http://example.com/project/ccc_update_test'),'Link to bbb_update_test project appears.');
}
/**
...
...
@@ -618,7 +618,7 @@ class UpdateTestContribCase extends UpdateTestHelper {