1 comment_views_handler_argument_user_uid.test CommentViewsHandlerArgumentUserUidTest::testCommentUserUidTest()

File

core/modules/comment/tests/comment_views_handler_argument_user_uid.test, line 46
Definition of CommentViewsHandlerArgumentUserUidTest.

Class

CommentViewsHandlerArgumentUserUidTest
Tests the argument_comment_user_uid handler.

Code

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