diff --git a/src/Doctrine/Orm/Tests/Filter/BackedEnumFilterTestTrait.php b/src/Doctrine/Orm/Tests/Filter/BackedEnumFilterTestTrait.php index bb864d16331..3e9bf716244 100644 --- a/src/Doctrine/Orm/Tests/Filter/BackedEnumFilterTestTrait.php +++ b/src/Doctrine/Orm/Tests/Filter/BackedEnumFilterTestTrait.php @@ -32,25 +32,11 @@ public function testGetDescription(): void 'property' => 'dummyBackedEnum', 'type' => 'string', 'required' => false, - 'is_collection' => false, 'schema' => [ 'type' => 'string', 'enum' => ['one', 'two'], ], ], - 'dummyBackedEnum[]' => [ - 'property' => 'dummyBackedEnum', - 'type' => 'string', - 'required' => false, - 'is_collection' => true, - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'enum' => ['one', 'two'], - ], - ], - ], ], $filter->getDescription($this->resourceClass)); } @@ -63,25 +49,11 @@ public function testGetDescriptionDefaultFields(): void 'property' => 'dummyBackedEnum', 'type' => 'string', 'required' => false, - 'is_collection' => false, 'schema' => [ 'type' => 'string', 'enum' => ['one', 'two'], ], ], - 'dummyBackedEnum[]' => [ - 'property' => 'dummyBackedEnum', - 'type' => 'string', - 'required' => false, - 'is_collection' => true, - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'enum' => ['one', 'two'], - ], - ], - ], ], $filter->getDescription($this->resourceClass)); }