You are here

function ViewsHandlerRelationshipNodeTermDataTest::testViewsHandlerRelationshipNodeTermData in Views (for Drupal 7) 7.3

File

tests/taxonomy/views_handler_relationship_node_term_data.test, line 53
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);
}