You are here

public function CacheFlushUICRUD::testFieldRequiring in CacheFlush 7.3

Check if form requring is working on title field.

File

modules/cacheflush_ui/cacheflush_ui.test, line 76
Contains test suite for cacheflush ui module.

Class

CacheFlushUICRUD
Test the UI CRUD.

Code

public function testFieldRequiring() {
  $this
    ->drupalPost('admin/structure/cacheflush/add', array(), t('Save'));
  $this
    ->assertResponse(200);
  $this
    ->assertRaw('error');
}