You are here

public function FeaturesExtraNodequeueTestCase::testNodequeueRevert in Features Extra 7

Test if nodequeues can be reverted and that overrides are detected.

File

tests/fe_nodequeue.test, line 49
Tests for the Features Extra Nodequeue module.

Class

FeaturesExtraNodequeueTestCase
Tests the functionality of FE Nodequeue.

Code

public function testNodequeueRevert() {

  // Ensure that the exported nodequeue is properly available.
  $this->nodequeue = _fe_nodequeue_load_queue_by_name('features_extra_test_nodequeue');
  $this
    ->assertTrue(!empty($this->nodequeue), 'The reverted nodequeue is present.');
  $this
    ->revertComponents(array(
    'fe_nodequeue',
  ));
}