tests/src/Functional/EntityTestMapFieldTest.php | 80 +------------------------ 1 file changed, 3 insertions(+), 77 deletions(-) diff --git a/tests/src/Functional/EntityTestMapFieldTest.php b/tests/src/Functional/EntityTestMapFieldTest.php index e442113..4fa15a9 100644 --- a/tests/src/Functional/EntityTestMapFieldTest.php +++ b/tests/src/Functional/EntityTestMapFieldTest.php @@ -10,6 +10,9 @@ use Drupal\user\Entity\User; * JSON API integration test for the "EntityTestMapField" content entity type. * * @group jsonapi + * @requires function Drupal\entity_test\Entity\EntityTestMapField::baseFieldDefinitions + * + * @todo Remove the "@requires" annotation when JSON API requires Drupal >=8.6 */ class EntityTestMapFieldTest extends ResourceTestBase { @@ -160,81 +163,4 @@ class EntityTestMapFieldTest extends ResourceTestBase { ])); } - /** - * {@inheritdoc} - */ - public function testGetIndividual() { - if (floatval(\Drupal::VERSION) < 8.6) { - $this->markTestSkipped(); - } - - return parent::testGetIndividual(); - } - - /** - * {@inheritdoc} - */ - public function testCollection() { - if (floatval(\Drupal::VERSION) < 8.6) { - $this->markTestSkipped(); - } - - return parent::testCollection(); - } - - /** - * {@inheritdoc} - */ - public function testRelated() { - if (floatval(\Drupal::VERSION) < 8.6) { - $this->markTestSkipped(); - } - - return parent::testRelated(); - } - - /** - * {@inheritdoc} - */ - public function testRelationships() { - if (floatval(\Drupal::VERSION) < 8.6) { - $this->markTestSkipped(); - } - - return parent::testRelationships(); - } - - /** - * {@inheritdoc} - */ - public function testPostIndividual() { - if (floatval(\Drupal::VERSION) < 8.6) { - $this->markTestSkipped(); - } - - return parent::testPostIndividual(); - } - - /** - * {@inheritdoc} - */ - public function testPatchIndividual() { - if (floatval(\Drupal::VERSION) < 8.6) { - $this->markTestSkipped(); - } - - return parent::testPatchIndividual(); - } - - /** - * {@inheritdoc} - */ - public function testDeleteIndividual() { - if (floatval(\Drupal::VERSION) < 8.6) { - $this->markTestSkipped(); - } - - return parent::testDeleteIndividual(); - } - }