2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$this->assertRaw(t('The block %title has been removed.',array('%title'=>$custom_block['info'])),t('Custom block successfully deleted.'));
$this->assertNoText(t($custom_block['title']),t('Custom block no longer appears on page.'));
$count=db_query("SELECT 1 FROM {block_role} WHERE module = :module AND delta = :delta",array(':module'=>$custom_block['module'],':delta'=>$custom_block['delta']))->fetchField();
$this->assertFalse($count,t('Table block_role being cleaned.'));