Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes
This commit is contained in:
parent
1a0e9d9fac
commit
a6b049dd05
538 changed files with 5247 additions and 1594 deletions
|
@ -25,6 +25,7 @@ class NodeComment extends InOperator {
|
|||
CommentItemInterface::CLOSED => $this->t('Closed'),
|
||||
CommentItemInterface::OPEN => $this->t('Open'),
|
||||
);
|
||||
return $this->valueOptions;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ class CommentInterfaceTest extends CommentTestBase {
|
|||
/**
|
||||
* Set up comments to have subject and preview disabled.
|
||||
*/
|
||||
public function setUp() {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
$this->drupalLogin($this->adminUser);
|
||||
// Make sure that comment field title is not displayed when there's no
|
||||
|
|
|
@ -240,7 +240,7 @@ class CommentNonNodeTest extends WebTestBase {
|
|||
* @param string $subject
|
||||
* Comment subject to find.
|
||||
*
|
||||
* @return integer
|
||||
* @return int
|
||||
* Comment ID.
|
||||
*/
|
||||
function getUnapprovedComment($subject) {
|
||||
|
|
|
@ -129,7 +129,7 @@ class CommentPreviewTest extends CommentTestBase {
|
|||
* Tests comment edit, preview, and save.
|
||||
*/
|
||||
function testCommentEditPreviewSave() {
|
||||
$web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'skip comment approval', 'edit own comments'));
|
||||
$web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'skip comment approval', 'edit own comments'));
|
||||
$this->drupalLogin($this->adminUser);
|
||||
$this->setCommentPreview(DRUPAL_OPTIONAL);
|
||||
$this->setCommentForm(TRUE);
|
||||
|
|
|
@ -288,7 +288,7 @@ abstract class CommentTestBase extends WebTestBase {
|
|||
/**
|
||||
* Sets the value governing restrictions on anonymous comments.
|
||||
*
|
||||
* @param integer $level
|
||||
* @param int $level
|
||||
* The level of the contact information allowed for anonymous comments:
|
||||
* - 0: No contact information allowed.
|
||||
* - 1: Contact information allowed but not required.
|
||||
|
@ -373,7 +373,7 @@ abstract class CommentTestBase extends WebTestBase {
|
|||
* @param string $subject
|
||||
* Comment subject to find.
|
||||
*
|
||||
* @return integer
|
||||
* @return int
|
||||
* Comment id.
|
||||
*/
|
||||
function getUnapprovedComment($subject) {
|
||||
|
|
|
@ -47,7 +47,7 @@ class CommentLinksTest extends CommentViewKernelTestBase {
|
|||
$view = Views::getView('test_comment');
|
||||
$view->setDisplay();
|
||||
|
||||
$view->displayHandlers->get('default')->overrideOption('fields', [
|
||||
$view->displayHandlers->get('default')->overrideOption('fields', [
|
||||
'approve_comment' => [
|
||||
'table' => 'comment',
|
||||
'field' => 'approve_comment',
|
||||
|
@ -134,7 +134,7 @@ class CommentLinksTest extends CommentViewKernelTestBase {
|
|||
$view = Views::getView('test_comment');
|
||||
$view->setDisplay();
|
||||
|
||||
$view->displayHandlers->get('default')->overrideOption('fields', [
|
||||
$view->displayHandlers->get('default')->overrideOption('fields', [
|
||||
'replyto_comment' => [
|
||||
'table' => 'comment',
|
||||
'field' => 'replyto_comment',
|
||||
|
|
Reference in a new issue