Commit 3ae5b0c0 authored by git's avatar git Committed by David Valdez
Browse files

Issue #3286600 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent 0397bbf2
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/src/Functional/CommentNotifyAnonymousTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ class CommentNotifyAnonymousTest extends CommentNotifyTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    // Allow anonymous users to post comments and get notifications.
+3 −2
Changes for tests/src/Functional/CommentNotifyTestBase.php: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ abstract class CommentNotifyTestBase extends BrowserTestBase {
  /**
   * Test that the config page is working.
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    // Create and login administrative user.
@@ -96,8 +96,9 @@ abstract class CommentNotifyTestBase extends BrowserTestBase {
    if ($contact !== NULL && is_array($contact)) {
      $edit += $contact;
    }
    $this->drupalGet($url);

    $this->drupalPostForm($url, $edit, t('Save'));
    $this->submitForm($edit, t('Save'));

    $match = [];
    // Get comment ID.
+1 −1
Changes for tests/src/Functional/CommentNotifyUserPreferencesTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ class CommentNotifyUserPreferencesTest extends CommentNotifyTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->authenticatedUser = $this->drupalCreateUser($this->permissions);
  }
+1 −1
Changes for tests/src/Kernel/CommentNotifyTokenReplaceTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ class CommentNotifyTokenReplaceTest extends TokenReplaceKernelTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->installConfig(['node', 'comment', 'comment_notify']);
    $this->installSchema('comment', ['comment_entity_statistics']);