Commit f1a5aebe authored by Project Update Bot's avatar Project Update Bot Committed by James Scott
Browse files

Issue #3290284 by Project Update Bot, Aamir M: Automated Drupal 10 compatibility fixes

parent b2320f9d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ class LoadFrontPageTest extends BrowserTestBase {
   *
   * @var array
   */
  public static $modules = [
  protected static $modules = [
    'user_history',
    'node',
    'views',
@@ -40,7 +40,7 @@ class LoadFrontPageTest extends BrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    // Set the front page to "/node".
    \Drupal::configFactory()
@@ -57,7 +57,7 @@ class LoadFrontPageTest extends BrowserTestBase {
    // Confirm that the page loaded correctly.
    $this->assertSession()->statusCodeEquals(200);
    // Confirm that the front page contains the standard text.
    $this->assertText('Welcome to Drupal');
    $this->assertSession()->pageTextContains('Welcome to Drupal');
  }

}