You are here

function ArgumentUserUIDTest::testCommentUserUIDTest in Views (for Drupal 7) 8.3

File

lib/Drupal/views/Tests/Comment/ArgumentUserUIDTest.php, line 23
Definition of Drupal\views\Tests\Comment\ArgumentUserUIDTest.

Class

ArgumentUserUIDTest
Tests the argument_comment_user_uid handler.

Namespace

Drupal\views\Tests\Comment

Code

function testCommentUserUIDTest() {
  $this
    ->executeView($this->view, array(
    $this->account->uid,
  ));
  $result_set = array(
    array(
      'nid' => $this->node_user_posted->nid,
    ),
    array(
      'nid' => $this->node_user_commented->nid,
    ),
  );
  $this->column_map = array(
    'nid' => 'nid',
  );
  $this
    ->assertIdenticalResultset($this->view, $result_set, $this->column_map);
}