You are here

function i18n_Blocks_Test::i18nUpdateBlock in Internationalization 6

Update block

1 call to i18n_Blocks_Test::i18nUpdateBlock()
i18n_Blocks_Test::testBlockTranslation in tests/i18n_blocks.test

File

tests/i18n_blocks.test, line 135

Class

i18n_Blocks_Test

Code

function i18nUpdateBlock($module, $delta, $update = array()) {
  $this
    ->drupalPost("admin/build/block/configure/{$module}/{$delta}", $update, t('Save block'));
  $this
    ->assertText(t('The block configuration has been saved.'));
}