function ViewsCloneTest::setUp

Overrides ViewsSqlTest::setUp

File

tests/views_clone.test, line 36

Class

ViewsCloneTest
Tests cloning a view.

Code

public function setUp(array $modules = array()) {
    parent::setUp($modules);
    $vocabulary = taxonomy_vocabulary_machine_name_load('tags');
    $this->term = $this->createTerm($vocabulary);
    $node = array();
    $node['type'] = 'article';
    $node['field_tags'][LANGUAGE_NONE][]['tid'] = $this->term->tid;
    $this->node = $this->drupalCreateNode($node);
}