• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

api-platform / core / 25673530285

11 May 2026 01:35PM UTC coverage: 28.929% (+0.05%) from 28.882%
25673530285

push

github

web-flow
test(jsonld,hydra,hal): migrate behat features to ApiTestCase (#7957)

* test(jsonld): migrate trivial behat features to ApiTestCase

Replaces 9 jsonld behat features with ApiTestCase functional tests
backed by isolated static-provider fixtures (no Doctrine entities,
except PropertyCollectionIriOnlyTest which keeps the existing entities
to preserve Link/uriVariables semantics). Covers disable_id_generation,
no_output, getter_setter_renaming, interface_as_resource,
interface_dto_output, max_depth, json_serializable, iri_only and drops
the debug-only inheritance scenarios.

* test(jsonld): migrate context/non-resource and abs/net URL features

Replaces context.feature (entrypoint, resource, embed-relation,
extended jsonldContext), non_resource.feature (genid, sparse fieldsets,
DateTime, plain object, non-resource relation), absolute_url.feature,
network_path.feature and hydra/absolute.feature (paged hydra:view).
Per-operation urlGenerationStrategy replaces the legacy app-level
configuration; new fixtures use static providers and ArrayPaginator.

* test(hydra): migrate entrypoint, error and item_uri_template features

Replaces the entrypoint, error and item_uri_template hydra behat
features with ApiTestCase functional tests. Error scenarios use
ValidationException + BadRequestHttpException via dedicated processors;
item_uri_template covers cars/brands plus the existing issue5662 and
CollectionReferencingItem fixtures registered through SetupClassResources.

* test(hydra): migrate collection, docs and input_output features

Replaces the remaining hydra/jsonld behat features:
* hydra/collection.feature: pagination, filters, partial pagination,
  no-prefix mode and cursor pagination (cursor variant uses SoMany).
* hydra/docs.feature: simplified to assert vocabulary, supportedClass,
  property/operation surface and deprecations on a dedicated fixture.
* jsonld/input_output.feature: custom input/output DTO, output: false,
  input: false, full input/output cyc... (continued)

18556 of 64143 relevant lines covered (28.93%)

89.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Symfony/Bundle/Resources/config/state/object_mapper_processor.php


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc