private function CopyrightBlockTestCase::assertBlockContent in Copyright Block module 7.2
Assert the contents of the copyright block.
Parameters
array $edit: The parameters to be POSTed to the block form.
string $output: The expected output to test for.
3 calls to CopyrightBlockTestCase::assertBlockContent()
File
- ./
copyright_block.test, line 72
Class
Code
private function assertBlockContent(array $edit, $output) {
$path = 'admin/structure/block/manage/copyright_block/copyright_block/configure';
$this
->drupalPost($path, $edit, t('Save block'));
$this
->assertRaw(sprintf('Copyright © %s, %s.', variable_get('site_name', 'Drupal'), $output));
}