function ViewsHandlerRelationshipNodeTermDataTest::testViewsHandlerRelationshipNodeTermData

File

tests/taxonomy/views_handler_relationship_node_term_data.test, line 60

Class

ViewsHandlerRelationshipNodeTermDataTest
Tests the relationship_node_term_data handler.

Code

public function testViewsHandlerRelationshipNodeTermData() {
    $view = $this->view_taxonomy_node_term_data();
    $this->executeView($view, array(
        $this->term_1->tid,
        $this->term_2->tid,
    ));
    $resultset = array(
        array(
            'nid' => $this->node->nid,
        ),
    );
    $this->column_map = array(
        'nid' => 'nid',
    );
    debug($view->result);
    $this->assertIdenticalResultset($view, $resultset, $this->column_map);
}