diff --git a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php index 4f63e861d3..8e714f23c8 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php @@ -117,15 +117,6 @@ public function testEntityTypeRestTestCoverage() { } $all = count($this->definitions); $good = $all - count($problems); - // @todo Remove this in https://www.drupal.org/node/2843139. Having this - // work-around in here until then means we can ensure we don't add more - // entity types without adding REST test coverage. - if ($problems === ['file: File (Drupal\file\Entity\File)']) { - $problems = []; - } - elseif ($problems === []) { - $this->fail('Drupal\file\Entity\File now supports REST test coverage. The work-around for it to pass until that test coverage was added should now be removed.'); - } $this->assertSame([], $problems, $this->getLlamaMessage($good, $all)); }