protected function FeaturesExtraNodequeueTestCase::override_fe_nodequeue in Features Extra 7
Change the title of the test nodequeue so the component becomes overridden.
File
- tests/
fe_nodequeue.test, line 60 - Tests for the Features Extra Nodequeue module.
Class
- FeaturesExtraNodequeueTestCase
- Tests the functionality of FE Nodequeue.
Code
protected function override_fe_nodequeue() {
$this->nodequeue->title = $this
->randomString();
nodequeue_save($this->nodequeue);
// Reset static caches.
// Note: we are using a variant of nodequeue_get_qid_map() that uses
// drupal_static() instead of a static variable to cache the results.
// @see http://drupal.org/node/1666556
drupal_static_reset('_fe_nodequeue_get_qid_map');
}