updated contrib modules

This commit is contained in:
2019-07-09 12:22:32 +02:00
parent cc3b64a193
commit 438237e852
469 changed files with 17307 additions and 8396 deletions

View File

@@ -20,10 +20,10 @@ class viewsHandlerArgumentCommentUserUidTest extends ViewsSqlTest {
/**
* Post comment.
*
* @param $node
* @param object $node
* Node to post comment on.
* @param $comment
* Comment to save
* @param array $comment
* Comment to save.
*/
function postComment($node, $comment = array()) {
$comment += array(
@@ -38,8 +38,8 @@ class viewsHandlerArgumentCommentUserUidTest extends ViewsSqlTest {
function setUp() {
parent::setUp();
// Add two users, create a node with the user1 as author and another node with user2 as author.
// For the second node add a comment from user1.
// Add two users, create a node with the user1 as author and another node
// with user2 as author. For the second node add a comment from user1.
$this->account = $this->drupalCreateUser();
$this->account2 = $this->drupalCreateUser();
$this->drupalLogin($this->account);
@@ -51,7 +51,6 @@ class viewsHandlerArgumentCommentUserUidTest extends ViewsSqlTest {
function testCommentUserUidTest() {
$view = $this->view_comment_user_uid();
$this->executeView($view, array($this->account->uid));
$resultset = array(
array(
@@ -67,7 +66,7 @@ class viewsHandlerArgumentCommentUserUidTest extends ViewsSqlTest {
}
function view_comment_user_uid() {
$view = new view;
$view = new view();
$view->name = 'test_comment_user_uid';
$view->description = '';
$view->tag = 'default';
@@ -103,4 +102,5 @@ class viewsHandlerArgumentCommentUserUidTest extends ViewsSqlTest {
return $view;
}
}

View File

@@ -38,4 +38,5 @@ class viewsHandlerFilterCommentUserUidTest extends viewsHandlerArgumentCommentUs
return $view;
}
}