Skip to content

Commit

Permalink
fix unit test for php 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DjordyKoert committed Mar 2, 2024
1 parent f0aaff9 commit e0b65b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Functional/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ public function testSerializedNameAction()

public function testCompoundEntityAction()
{
if (PHP_VERSION_ID < 70400) {
if (PHP_VERSION_ID < 70300) {
self::assertEquals([
'schema' => 'CompoundEntity',
'type' => 'object',
Expand Down Expand Up @@ -652,7 +652,7 @@ public function testCompoundEntityAction()
'items' => [
'$ref' => '#/components/schemas/CompoundEntity',
],
'nullable' => true, // For some reason, this only exists on PHP < 7.4, which should not be the case. Assuming this to be a bug in PHP.
'nullable' => true, // For some reason, this only exists on PHP < 7.3, which should not be the case. Assuming this to be a bug in PHP.
],
],
],
Expand All @@ -668,7 +668,7 @@ public function testCompoundEntityAction()
],
[
'type' => 'string',
'nullable' => true, // For some reason, this only exists on PHP < 7.4, which should not be the case. Assuming this to be a bug in PHP.
'nullable' => true, // For some reason, this only exists on PHP < 7.3, which should not be the case. Assuming this to be a bug in PHP.
],
],
],
Expand Down

0 comments on commit e0b65b6

Please sign in to comment.