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

bleedingdeacons / integrity / 30721973338
91%

Build:
DEFAULT BRANCH: main
Ran 01 Aug 2026 10:48PM UTC
Jobs 1
Files 13
Run time 1min
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

01 Aug 2026 10:45PM UTC coverage: 90.833%. Remained the same
30721973338

push

github

web-flow
fix(tests): put Unity on the classpath, and fix the four mocks that hid (#34)

Nothing put Unity on this suite's classpath. The controller tests mock its
contracts by string name, and Mockery will happily generate a double for a
class that does not exist — with no methods and no signature checking at all.
Unity could have changed any signature in Groups, Meetings, Members,
Positions or IntergroupMeetings and these 219 tests would have stayed green.

The bootstrap now registers a PSR-4 autoloader over ../unity/src, the sibling
checkout CI already arranges for PHPStan. Loading the real interfaces
immediately failed four tests, all the same bug: an untyped Mockery::mock()
returned from a method whose real signature declares a concrete type.

  - IntergroupMeetingGroupAttendanceFactory::createNew() returns
    IntergroupMeetingGroupAttendance, not a bare mock (3 tests).
  - PrivacyPolicyRepository::findById() returns ?PrivacyPolicy (1 test).

Each was returning an object that could never come back from the real
collaborator, so the controller hit a TypeError and answered 500 where the
test asserted 201, 409 or 200. The mocks are now typed to the interfaces the
signatures declare, which is what makes them doubles rather than decoration.

219 tests, 488 assertions before and after — the fix is to the doubles, not
to the coverage.

2378 of 2618 relevant lines covered (90.83%)

3.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30721973338.1 01 Aug 2026 10:48PM UTC 13
90.83
GitHub Action Run
Source Files on build 30721973338
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30721973338
  • 7cc02c5f on github
  • Prev Build on main (#30668758588)
  • Next Build on main (#30723350694)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc