function BlockAccessConfigTestCase::testGranted in Block Access 7
Test $user1 is granted operation
File
- tests/
op_basic_config.test, line 49 - Tests for block_access / operation config
Class
- BlockAccessConfigTestCase
- Tests for block_access / operation config
Code
function testGranted() {
$this
->drupalLogin($this->user1);
$this
->drupalGet('admin/structure/block');
$this
->assertResponse(200);
$this
->assertLinkByHref('admin/structure/block/manage/block/' . $this->block->delta . '/configure');
$this
->drupalGet('admin/structure/block/manage/block/' . $this->block->delta . '/configure');
$this
->assertResponse(200);
}