From 69c5e042a87bbe5bad873e883e8d9bbcdaba31aa Mon Sep 17 00:00:00 2001 From: DjordyKoert Date: Wed, 10 Jan 2024 18:23:33 +0100 Subject: [PATCH] use isDefault method --- Tests/Functional/FunctionalTest.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Tests/Functional/FunctionalTest.php b/Tests/Functional/FunctionalTest.php index 89fe9eaaf..afef37cd4 100644 --- a/Tests/Functional/FunctionalTest.php +++ b/Tests/Functional/FunctionalTest.php @@ -174,10 +174,6 @@ public function testApiPlatform() public function testUserModel() { - if (version_compare(PHP_VERSION, '8.0.0', '<')) { - $this->markTestSkipped('This test does not work below PHP8'); - } - $this->assertEquals( [ 'type' => 'object', @@ -1180,10 +1176,6 @@ public function testArbitraryArrayModel() public function testEntityWithFalsyDefaults() { - if (version_compare(PHP_VERSION, '8.0.0', '<')) { - $this->markTestSkipped('This test does not work below PHP8'); - } - $model = $this->getModel('EntityWithFalsyDefaults'); $this->assertCount(6, $model->properties);