$this->assertFieldByName('filters[filter_html][settings][allowed_html]',$edit['filters[filter_html][settings][allowed_html]'],'Allowed HTML tag added.');
$result=db_query('SELECT * FROM {cache_filter}')->fetchObject();
$this->assertTrue(($filters[0]==$second_filter&&$filters[1]==$first_filter),t('Order confirmed in database.'));
$this->assertTrue($filter_format->filters['filter_autop']['weight']+1==$filter_format->filters['filter_url']['weight'],t('Order confirmed in configuration.'));
// Add format.
$edit=array();
...
...
@@ -216,7 +216,7 @@ function testFilterAdmin() {
$this->drupalGet('node/add/page');
$this->assertRaw('<option value="'.$full.'">Full HTML</option>','Full HTML filter accessible.');
// Use filtered HTML and see if it removes tags that are not allowed.
// Use basic HTML and see if it removes tags that are not allowed.