File
- drupal/core/modules/comment/lib/Drupal/comment/Tests/Views/ArgumentUserUIDTest.php, line 30
- Contains \Drupal\comment\Tests\Views\ArgumentUserUIDTest.
Class
- ArgumentUserUIDTest
- Tests the argument_comment_user_uid handler.
Namespace
Drupal\comment\Tests\Views
Code
function testCommentUserUIDTest() {
$view = views_get_view('test_comment_user_uid');
$this
->executeView($view, array(
$this->account->uid,
));
$result_set = array(
array(
'nid' => $this->node_user_posted->nid,
),
array(
'nid' => $this->node_user_commented->nid,
),
);
$column_map = array(
'nid' => 'nid',
);
$this
->assertIdenticalResultset($view, $result_set, $column_map);
}