tests/src/Functional/FileTest.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/src/Functional/FileTest.php b/tests/src/Functional/FileTest.php index a437833..7f5af0e 100644 --- a/tests/src/Functional/FileTest.php +++ b/tests/src/Functional/FileTest.php @@ -233,13 +233,11 @@ class FileTest extends ResourceTestBase { /** * Tests the BC layer for the pre-8.5 JSON API work-around for File entities. + * + * Tests on both <8.5 sites and >=8.5 sites: because existing sites that + * update to 8.5 should not break. */ public function testGetIndividualBc() { - if (floatval(\Drupal::VERSION) < 8.5) { - $this->markTestSkipped('The "url" property on the "uri" field on File entities is only available for normalization in Drupal 8.5 and later.'); - return; - } - // Enable the BC layer. // @see jsonapi_entity_base_field_info() $config_factory = \Drupal::configFactory();