Verified Commit c17cc49d authored by Dave Long's avatar Dave Long
Browse files

Issue #3468204 by mondrake, mstrelan: Remove assertion workaround from BrowserTestBase

parent e4d0beac
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ class FunctionalTestDebugHtmlOutputHelperTest extends BrowserTestBase {
   */
  public function testCreateFunctionalTestDebugHtmlOutput(): void {
    $this->drupalGet('<front>');
    $this->assertSession()->statusCodeEquals(200);
  }

}
+0 −4
Original line number Diff line number Diff line
@@ -370,10 +370,6 @@ protected function setUp(): void {
    // Set up the browser test output file.
    $this->initBrowserOutputFile();

    // Ensure that the test is not marked as risky because of no assertions. In
    // PHPUnit 6 tests that only make assertions using $this->assertSession()
    // can be marked as risky.
    $this->addToAssertionCount(1);
  }

  /**