function viewsHandlerArgumentCommentUserUidTest::testCommentUserUidTest in Views (for Drupal 7) 7.3
File
- tests/
comment/ views_handler_argument_comment_user_uid.test, line 57 - Definition of viewsHandlerArgumentCommentUserUidTest.
Class
- viewsHandlerArgumentCommentUserUidTest
- 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);
}