You are here

protected function FeaturesExtraBlockTestCase::override_fe_block_settings in Features Extra 7

Change a setting of the test block so the component becomes overridden.

File

tests/fe_block.test, line 78
Tests for the Features Extra Block module.

Class

FeaturesExtraBlockTestCase
Tests the functionality of FE Block.

Code

protected function override_fe_block_settings() {
  db_update('block')
    ->fields(array(
    'region' => 'footer',
  ))
    ->condition('bid', $this->block->bid)
    ->condition('theme', 'bartik')
    ->execute();
}