Commit 261c3d78 authored by catch's avatar catch
Browse files

task: #3557840 Remove @legacy-covers in cases where the test method name...

task: #3557840 Remove @legacy-covers in cases where the test method name starts with the covered method

By: mondrake
(cherry picked from commit 02886c66)
parent 0f86723a
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@ class BigPipeStrategyTest extends UnitTestCase {

  /**
   * Tests process placeholders.
   *
   * @legacy-covers ::processPlaceholders
   */
  #[DataProvider('placeholdersProvider')]
  public function testProcessPlaceholders(array $placeholders, $method, $route_match_has_no_big_pipe_option, $request_has_session, $request_has_big_pipe_nojs_cookie, array $expected_big_pipe_placeholders): void {
+0 −2
Original line number Diff line number Diff line
@@ -24,8 +24,6 @@ final class ContentLengthTest extends UnitTestCase {

  /**
   * Tests handle.
   *
   * @legacy-covers ::handle
   */
  #[DataProvider('providerTestSetContentLengthHeader')]
  public function testHandle(false|int $expected_header, Response $response): void {
+0 −2
Original line number Diff line number Diff line
@@ -97,8 +97,6 @@ protected function setUp(): void {

  /**
   * Tests calculate dependencies.
   *
   * @legacy-covers ::calculateDependencies
   */
  public function testCalculateDependencies(): void {
    $this->themeHandler->themeExists('stark')->willReturn(TRUE);
+0 −4
Original line number Diff line number Diff line
@@ -85,8 +85,6 @@ protected function setUp(): void {

  /**
   * Tests the retrieval of block entities.
   *
   * @legacy-covers ::getVisibleBlocksPerRegion
   */
  #[DataProvider('providerBlocksConfig')]
  public function testGetVisibleBlocksPerRegion(array $blocks_config, array $expected_blocks): void {
@@ -160,8 +158,6 @@ public static function providerBlocksConfig() {

  /**
   * Tests the retrieval of block entities that are context-aware.
   *
   * @legacy-covers ::getVisibleBlocksPerRegion
   */
  public function testGetVisibleBlocksPerRegionWithContext(): void {
    $block = $this->createMock('Drupal\block\BlockInterface');
+0 −4
Original line number Diff line number Diff line
@@ -203,8 +203,6 @@ public static function providerBuild() {

  /**
   * Tests the building of a full page variant.
   *
   * @legacy-covers ::build
   */
  #[DataProvider('providerBuild')]
  public function testBuild(array $blocks_config, $visible_block_count, array $expected_render_array): void {
@@ -239,8 +237,6 @@ public function testBuild(array $blocks_config, $visible_block_count, array $exp

  /**
   * Tests the building of a full page variant with no main content set.
   *
   * @legacy-covers ::build
   */
  public function testBuildWithoutMainContent(): void {
    $display_variant = $this->setUpDisplayVariant();
Loading