Verified Commit 97b55f32 authored by Alex Pott's avatar Alex Pott
Browse files

fix: #3631040 MetadataCollection::isCovers() was removed in PHPUnit 12

By: dries
By: mondrake
(cherry picked from commit 7b780c41)
parent 8e8fb286
Loading
Loading
Loading
Loading
Loading
−5
Changes for core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -97,11 +97,6 @@ protected function getPluginClass() {
      return $coversClass[0]->className();
    }

    $covers = $this->valueObjectForEvents()->metadata()->isCovers()->isClassLevel()->asArray();
    if (isset($covers[0])) {
      return $covers[0]->target();
    }

    $this->fail('No plugin class was specified');
  }