You are here

function i18nBlocksTestCase::updateBlock in Internationalization 7

Update block

3 calls to i18nBlocksTestCase::updateBlock()
i18nBlocksTestCase::setBlockLanguages in i18n_block/i18n_block.test
Update block visibility for languages
i18nBlocksTestCase::setBlockMode in i18n_block/i18n_block.test
Update block i18n mode
i18nBlocksTestCase::testBlockTranslation in i18n_block/i18n_block.test

File

i18n_block/i18n_block.test, line 193
Test case for multilingual blocks

Class

i18nBlocksTestCase
@file Test case for multilingual blocks

Code

function updateBlock($block, $edit) {
  $this
    ->drupalLogin($this->admin_user);
  $this
    ->drupalPost('admin/structure/block/manage/' . $block['module'] . '/' . $block['delta'] . '/configure', $edit, t('Save block'));
}