1 views_module.test ViewsModuleTest::testModuleTemplates()

Tests the dynamic includes of templates via module feature.

File

core/modules/views/tests/views_module.test, line 88
Definition of ViewsModuleTest.

Class

ViewsModuleTest
Tests basic functions from the Views module.

Code

function testModuleTemplates() {
  $existing = array();
  $type = array();
  $theme = array();
  $path = array();
  $registry = views_theme($existing, $type, $theme, $path);
  $this->assertTrue(isset($registry['views_view__promoted']));
}