Commit 1a20413c authored by catch's avatar catch
Browse files

Issue #3275464 by HEBL, danflanagan8: Remove obsolete test method FrontPageTest::testAdminFrontPage

(cherry picked from commit 6c2fb687)
parent 7bdf3b06
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -176,22 +176,6 @@ protected function assertNotInResultSet(ViewExecutable $view, array $not_expecte
    $this->assertEmpty($found_nids, $message);
  }

  /**
   * Tests the frontpage when logged in as admin.
   */
  public function testAdminFrontPage() {
    // When a user with sufficient permissions is logged in, views_ui adds
    // contextual links to the homepage view. This verifies there are no errors.
    \Drupal::service('module_installer')->install(['views_ui']);
    // Log in root user with sufficient permissions.
    $this->drupalLogin($this->rootUser);
    // Test frontpage view.
    $this->drupalGet('node');
    $this->assertSession()->statusCodeEquals(200);
    // Check that the frontpage view was rendered.
    $this->assertSession()->elementExists('css', '.views-element-container');
  }

  /**
   * Tests the cache tags when using the "none" cache plugin.
   */