You are here

public function CerFieldTestCase::testFieldDelete in Corresponding Entity References 7.2

File

tests/fields.test, line 60

Class

CerFieldTestCase

Code

public function testFieldDelete() {
  field_delete_field('field_user');
  $preset = cer_preset_load('node*page*field_user*user*user*field_node');
  $this
    ->assertNull($preset, 'Deleting a field clears CER presets for that field.');
}