function viewsHandlerArgumentCommentUserUidTest::testCommentUserUidTest

File

tests/comment/views_handler_argument_comment_user_uid.test, line 63

Class

viewsHandlerArgumentCommentUserUidTest
Tests the argument_comment_user_uid handler.

Code

public function testCommentUserUidTest() {
  $view = $this->view_comment_user_uid();
  $this->executeView($view, array(
    $this->account->uid,
  ));
  $resultset = array(
    array(
      'nid' => $this->node_user_posted->nid,
    ),
    array(
      'nid' => $this->node_user_commented->nid,
    ),
  );
  $this->column_map = array(
    'nid' => 'nid',
  );
  debug($view->result);
  $this->assertIdenticalResultset($view, $resultset, $this->column_map);
}