You are here

public function EntityViewModeSuggestionsTest::setUp in Entity view modes 7

Overrides EntityViewModeTestHelper::setUp().

Overrides EntityViewModeTestHelper::setUp

File

./entity_view_mode.test, line 220
Test integration for the entity_view_mode module.

Class

EntityViewModeSuggestionsTest

Code

public function setUp(array $modules = array()) {
  parent::setUp($modules);

  // Core RDF module causes PHP notices with entity rendering.
  module_disable(array(
    'rdf',
  ));
  variable_set('entity_view_mode_theme_output_suggestions', array(
    'comment',
    'node',
    'taxonomy_term',
    'user_profile',
  ));
  drupal_static_reset('theme_get_registry');
}