You are here

function EsiBlockTest::testAdminBlockConfigureUI in ESI: Edge Side Includes 7.3

Test UI. The block-admin page should have 'ESI enabled' and 'ESI TTL' fields.

File

modules/esi_block/esi_block.test, line 41
Tests for the ESI Block module.

Class

EsiBlockTest
Test the node_load_multiple() function.

Code

function testAdminBlockConfigureUI() {

  // Get the block-configuration page for the system:help block.
  $this
    ->drupalGet('admin/structure/block/manage/system/help/configure');
  $this
    ->assertField('esi_enabled', t('The ESI-enabled field is displayed.'));
  $this
    ->assertField('esi_ttl', t('The ESI-TTL field is displayed.'));
}