Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ class FunctionalTestDebugHtmlOutputHelperTest extends BrowserTestBase {
*/
public function testCreateFunctionalTestDebugHtmlOutput(): void {
$this->drupalGet('<front>');
$this->assertSession()->statusCodeEquals(200);
}
}
......@@ -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);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment