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

api-platform / core / 26958513110
30%
master: 37%

Build:
Build:
LAST BUILD BRANCH: fix/graphql-query-custom-provider-5805-v2
DEFAULT BRANCH: master
Ran 04 Jun 2026 02:38PM UTC
Jobs 4
Files 1533
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jun 2026 02:33PM UTC coverage: 29.776% (+0.8%) from 28.969%
26958513110

push

github

soyuka
test(hal): inject resourceMetadataFactory in SchemaFactoryTest

Hal SchemaFactory ctor takes (schemaFactory, definitionNameFactory,
resourceMetadataFactory). setUp() omitted the third argument, so
Hal's ResourceMetadataTrait::isResourceClass(Dummy) returned false,
causing Hal to bypass its own wrap and delegate straight to the base
factory with format='jsonhal'. The base factory then wrote
Dummy.jsonhal={type:object}, never producing the allOf wrap the
tests assert on.

Hal was added to the CI matrix in 49c622b1a, exposing this for the
first time. Pass the existing $resourceMetadataFactory mock so
isResourceClass() resolves true and the wrap fires.

0 of 1 new or added line in 1 file covered. (0.0%)

9 existing lines in 1 file now uncovered.

19329 of 64915 relevant lines covered (29.78%)

158.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% src/Hal/Tests/JsonSchema/SchemaFactoryTest.php

Coverage Regressions

Lines Coverage ∆ File
9
0.0
0.0% src/Hal/Tests/Fixtures/Dummy.php
Jobs
ID Job ID Ran Files Coverage
1 26958513110.1 04 Jun 2026 02:38PM UTC 1533
12.59
GitHub Action Run
2 26958513110.2 04 Jun 2026 02:39PM UTC 1533
27.52
GitHub Action Run
3 26958513110.3 04 Jun 2026 02:40PM UTC 1533
27.1
GitHub Action Run
4 26958513110.4 04 Jun 2026 02:40PM UTC 1533
24.81
GitHub Action Run
Source Files on build 26958513110
  • Tree
  • List 1533
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3426fed8 on github
  • Prev Build on 4.3 (#26956454847)
  • Next Build on 4.3 (#26958545798)
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