function ViewsHandlerRelationshipNodeTermDataTest::testViewsHandlerRelationshipNodeTermData

3.x views_handler_relationship_node_term_data.test ViewsHandlerRelationshipNodeTermDataTest::testViewsHandlerRelationshipNodeTermData()

File

tests/taxonomy/views_handler_relationship_node_term_data.test, line 51
Definition of ViewsHandlerRelationshipNodeTermDataTest.

Class

ViewsHandlerRelationshipNodeTermDataTest
Tests the relationship_node_term_data handler.

Code

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);
}